Skip to content

This repo contains groovy functions, that anyone can call them in their groovy scripts.

License

Notifications You must be signed in to change notification settings

mani1soni/jenkins-shared-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation







jenkins-shared-library

PRs Welcome License

This is open source jenkins shared library repository. This repository contains groovy functions, anyone can call them in their groovy scripts.

Tutorial

  • Make a Jenkinsfile in your own github repository
  • Fork this repo
  • Call groovy function like following example-->
    library identifier: 'general_node-app_template@master', retriever: modernSCM(
    [$class: 'GitSCMSource',
     remote: 'Forked Repo URL',
     credentialsId: 'YOUR-Credentials'])
    
     general_node-app_template()
    
    

Contributions

Contribution steps

  • Create a new branch in your forked repository and then start working
  • Include a proper commit message in your commits
  • Always rebase with master:mani1soni/jenkins-shared-library to avoid merge conflicts whenever you start to work
  • Include proper PR message while giving pull request
  • Try to keep pull requests small to minimize merge conflicts

Getting Started

  • Fork this repo (button on top)
  • Clone on your local machine
        $ git clone https://github.com/mani1soni/jenkins-shared-library
    
  • Change to jenkins-shared-library directory
        $ cd jenkins-shared-library
    
  • Create a new branch
        $ git checkout -b my-new-branch
    
  • Add your contribution
  • Commit and push
        $ git add .
    
        $ git commit -m "your-commit-msg"
    
        $ git push origin my-new-branch
    
  • Create a new pull request from your forked repository to master branch of mani1soni/jenkins-shared-library

🎉 🎊 😃 Happy Contributing 😃 🎊 🎉

For more details visit:-

Technology used

Maintainers

Manish Soni
Manish Soni
Twitter: @manisomanish
Github: @mani1soni
Linkedin: @manisomanish
DevOps Engineer
Parth Vyas
Parth Vyas
Github: @parthvyas
Linkedin: @parthvyas
DevOps Engineer

License

GPL-3.0

About

This repo contains groovy functions, that anyone can call them in their groovy scripts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages