mani1soni / jenkins-shared-library

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool







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.

License:GNU General Public License v3.0


Languages

Language:Groovy 100.0%