Skip to content

Latest commit

 

History

History
70 lines (54 loc) · 2.84 KB

Readme.md

File metadata and controls

70 lines (54 loc) · 2.84 KB

Name

DevOPS - Auto pipeline

Table of Contents

Description

WebHook URI

# Jenkins host
CI_HOST=http://ci.example.com

# Webhook token
CI_TOKEN=devops-token-jira

printf "%s/generic-webhook-trigger/invoke?token=%s&project_key=\${project.key}\n" "$CI_HOST" "$CI_TOKEN"

Back to TOC

Dependence

plugins

Plugin description
Blue Ocean ☑️ UI
Docker Pipeline ☑️
GitLab Plugin ☑️ Allows GitLab to launch Jenkins pipeline and display their results in the GitLab UI.
Publish Over SSH ☑️ Send build artifacts over SSH
Version Number ☑️ Format building package version
Embeddable Build Status ☑️ Show building status
Crowd 2 Integration ☑️ SSO
Role-based Authorization Strategy ☑️ RBAC support
Git Parameter ☑️
Generic Webhook Trigger ☑️
HTTP Request ☑️ pipeline http request support
Pipeline Utility Steps ☑️ add readJSON writeJSON support
SSH Pipeline Steps ☑️ SSH cmd support
SSH Agent ☑️ SSH Agnet support
Configuration as Code ☑️

Back to TOC

Example

# change jira and bitbucket host
## replace http://*.example.com in Jenkinsfile with your own host
## replace devops_auth_bot with your own jenkins auth credential 
vim pipeline/trigger.jira.service.Jenkinsfile

# configure system share libs
## `Manage Jenkins` -> `System Configuration` -> `Global Pipeline Libraries` -> `Library` -> `Add`

# configure auto pipeline

Back to TOC