All Projects → Statemood → Jenkins Library

Statemood / Jenkins Library

Licence: apache-2.0
Shared Library for Jenkine Pipeline

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Jenkins Library

Ssh Steps Plugin
Jenkins pipeline steps which provides SSH facilities such as command execution or file transfer for continuous delivery.
Stars: ✭ 183 (+471.88%)
Mutual labels:  pipeline, jenkins
blueocean-pipeline-editor-plugin
Jenkins Blue Ocean pipeline editor
Stars: ✭ 30 (-6.25%)
Mutual labels:  jenkins, pipeline
Jenkinsdocs
Jenkins实践文档 最新站点地址: http://www.idevops.site
Stars: ✭ 200 (+525%)
Mutual labels:  pipeline, jenkins
Jira Steps Plugin
Jenkins pipeline steps for integration with JIRA.
Stars: ✭ 88 (+175%)
Mutual labels:  pipeline, jenkins
pipeline-as-code-with-jenkins
Pipeline as Code with Jenkins
Stars: ✭ 56 (+75%)
Mutual labels:  jenkins, pipeline
Jenkins Pipeline Library
wcm.io Jenkins Pipeline Library for CI/CD
Stars: ✭ 134 (+318.75%)
Mutual labels:  pipeline, jenkins
artifact-promotion-plugin
A simple Jenkins plugin to promote artifacts.
Stars: ✭ 29 (-9.37%)
Mutual labels:  jenkins, pipeline
Pipeline Library
Collection of custom steps and variables for our Jenkins instance(s)
Stars: ✭ 159 (+396.88%)
Mutual labels:  library, jenkins
rurality
开源运维平台设计及开发样例、CMS、RBAC、python开发教程、管理系统设计及开发样例、jenkinsfile(pipeline)/ansible使用教程,一切想到的,想不到的,应有尽有
Stars: ✭ 51 (+59.38%)
Mutual labels:  jenkins, pipeline
jenkins-terraform-pipeline
create a jenkins pipeline which uses terraform to manage AWS resources
Stars: ✭ 17 (-46.87%)
Mutual labels:  jenkins, pipeline
Gitlab Branch Source Plugin
Jenkins-Plugin to create a multi-branch-project from gitlab
Stars: ✭ 76 (+137.5%)
Mutual labels:  pipeline, jenkins
Pipeline
Pipeline is a package to build multi-staged concurrent workflows with a centralized logging output.
Stars: ✭ 433 (+1253.13%)
Mutual labels:  pipeline, jenkins
Jenkins Os
Groovy pipeline jobs that build and test Container Linux with Jenkins
Stars: ✭ 43 (+34.38%)
Mutual labels:  pipeline, jenkins
Demo Jenkins Config As Code
Demo of Jenkins Configuration-As-Code with Docker and Groovy Hook Scripts
Stars: ✭ 143 (+346.88%)
Mutual labels:  pipeline, jenkins
Jenkins Workflow
contains handy groovy workflow-libs scripts
Stars: ✭ 41 (+28.13%)
Mutual labels:  pipeline, jenkins
pipeline-as-yaml-plugin
Jenkins Pipeline As Yaml Plugin
Stars: ✭ 111 (+246.88%)
Mutual labels:  jenkins, pipeline
bitbucket-push-and-pull-request-plugin
Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.
Stars: ✭ 47 (+46.88%)
Mutual labels:  jenkins, pipeline
Jx
Jenkins X provides automated CI+CD for Kubernetes with Preview Environments on Pull Requests using Cloud Native pipelines from Tekton
Stars: ✭ 4,041 (+12528.13%)
Mutual labels:  pipeline, jenkins
Lambdacd
a library to define a continuous delivery pipeline in code
Stars: ✭ 655 (+1946.88%)
Mutual labels:  pipeline, library
Cardviewlist
An elegant and responsive CardView like Android on iOS with Swift. Available horizontal and vertical scrolling with full animations and customizable.
Stars: ✭ 30 (-6.25%)
Mutual labels:  library

jenkins-library

Shared Library for Jenkins Pipeline

配置 Jenkins 使用 Shared Library

若要使用 Shared Library, 您可以通过两种方式进行配置:

  • Declarative Pipeline 通过简单配置使用 Jenkinsfile 进行控制

    Jenkinsfile 在执行时, 也是调用了 Jenkins Shared Library

  • Scripted Pipeline 通过一些配置使用 Script 进行控制

Declarative Pipeline

1. 创建一个流水线(Pipeline)项目

创建项目

2. 配置使用 Jenkinsfile

在项目配置界面,流水线 处,选择 Pipeline script from SCM

或选择 Pipeline script, 然后输入如下配置

@Library('github.com/Statemood/[email protected]') _

entry([git_repo: 'https://github.com/Statemood/simple-java-maven-app.git'])

保存即可开始使用。

3. 配置 Global Pipeline Libraries

依赖项

BUILD_USER & BUILD_USER_ID 需要 build user vars 插件

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].