All Projects → politie → Pipeline Library

politie / Pipeline Library

Licence: apache-2.0
Jenkins shared library for use with pipeline-as-code

Programming Languages

groovy
2714 projects

Labels

Projects that are alternatives of or similar to Pipeline Library

Kubernetes Learning
《从Docker到Kubernetes进阶课程》在线文档
Stars: ✭ 1,128 (+1112.9%)
Mutual labels:  jenkins
Envinject Plugin
This plugin makes it possible to setup a custom environment for your jobs
Stars: ✭ 74 (-20.43%)
Mutual labels:  jenkins
Jenkins Shell
Automating Jenkins Hacking using Shodan API
Stars: ✭ 84 (-9.68%)
Mutual labels:  jenkins
Jenkins Pipeline Libraries
Useful Jenkins Pipeline Libraries to use for whatever.
Stars: ✭ 67 (-27.96%)
Mutual labels:  jenkins
Gitops Terraform Jenkins
GitOps Workflow with Jenkins and Terraform
Stars: ✭ 73 (-21.51%)
Mutual labels:  jenkins
Custom War Packager
Custom Jenkins WAR packager for Jenkins
Stars: ✭ 77 (-17.2%)
Mutual labels:  jenkins
Notifyqq
基于Mojo-WebQQ的Jenkins构建后QQ提醒插件
Stars: ✭ 59 (-36.56%)
Mutual labels:  jenkins
Nomadfiles
A collection of Nomad job files for deploying applications to a cluster
Stars: ✭ 89 (-4.3%)
Mutual labels:  jenkins
Devops Resources
DevOps resources - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP
Stars: ✭ 1,194 (+1183.87%)
Mutual labels:  jenkins
Jenkins Pipeline
📈 Learn how to implement container technologies with your Jenkins CI/CD workflows to make them easier to manage in this tutorial.
Stars: ✭ 83 (-10.75%)
Mutual labels:  jenkins
Redmine jenkins
A Redmine plugin which makes building your Jenkins projects easy ;)
Stars: ✭ 69 (-25.81%)
Mutual labels:  jenkins
Qy Wechat Notification Plugin
企业微信Jenkins构建通知插件
Stars: ✭ 72 (-22.58%)
Mutual labels:  jenkins
Metasearch
Search aggregator for Slack, Google Docs, GitHub, and more 🔍
Stars: ✭ 81 (-12.9%)
Mutual labels:  jenkins
Localization Zh Cn Plugin
Chinese Localization for Jenkins
Stars: ✭ 65 (-30.11%)
Mutual labels:  jenkins
Jira Steps Plugin
Jenkins pipeline steps for integration with JIRA.
Stars: ✭ 88 (-5.38%)
Mutual labels:  jenkins
Jenkinspipelineunit
Framework for unit testing Jenkins pipelines
Stars: ✭ 1,110 (+1093.55%)
Mutual labels:  jenkins
Gitlab Branch Source Plugin
Jenkins-Plugin to create a multi-branch-project from gitlab
Stars: ✭ 76 (-18.28%)
Mutual labels:  jenkins
Role Strategy Plugin
Jenkins Role-Strategy plugin
Stars: ✭ 91 (-2.15%)
Mutual labels:  jenkins
Docker For All
Docker applied in development, devops, testing, product management etc.
Stars: ✭ 88 (-5.38%)
Mutual labels:  jenkins
Bartlett
A simple Jenkins command line client to serve your needs.
Stars: ✭ 81 (-12.9%)
Mutual labels:  jenkins

pipeline-library

Jenkins shared library for use with pipeline-as-code. You can use (parts of) this library in you Jenkinsfile.

How to use

  • Fork this repo.
  • Modify the Constants.groovy file and supply your specific configuration parameters (e.g. GitLab url, SonarQube url).
  • Add your forked git repo to your Jenkins instance: Manage Jenkins > Configure System > Global Pipeline Libraries and name it pipeline-library.
  • Import the global shared library into your Jenkinsfile:
    @Library('pipeline-library')
    import politie.jenkins.*
    
    def builder = new JenkinsPipelineBootstrap().createBuilder()
    
    String serviceName = 'my-service'
    String gitBranch = 'master'
    
    builder.mavenApplicationPipeline(serviceName, gitBranch)        
    
  • Start your Jenkins job.

Note: if you just want to take advantage of our custom step definitions, take a look at JenkinsPipelineSteps.groovy

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].