Skip to content

Latest commit

 

History

History
96 lines (70 loc) · 3.7 KB

README.md

File metadata and controls

96 lines (70 loc) · 3.7 KB






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