[[linux_wiki:pipelines]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_wiki:pipelines [2019/05/26 14:53] (current)
Line 1: Line 1:
 +====== Pipelines ======
 +
 +**General Information**
 +
 +Jenkins pipelines. ​
 +
 +**Checklist**
 +  * Jenkins server setup/​configured.
 +  * Git project created.
 +
 +----
 +
 +====== The Jenkins Job ======
 +
 +Create a new job in Jenkins:
 +  * New Item
 +    * Enter an item name: Descriptive name
 +    * Select "​Pipeline"​
 +    * Click "​Ok"​
 +  * Scroll down to the "​Pipeline"​ section
 +    * Definition: Select "​Pipeline script from SCM"
 +    * SCM: Select "​Git"​
 +    * Repository URL: paste in git URL of project that you would clone with
 +    * Credentials:​ Select Git credentials that has access to the project
 +    * Script Path: path and filename to the Jenkinsfile in the project (relative to the root of the project directory)
 +  * Click Save
 +
 +----
 +
 +====== Jenkinsfile Pipeline ======
 +
 +Create a Jenkinsfile pipeline in the project.
 +
 +Examples here: https://​gitlab.com/​whowe/​jenkins-pipelines
 +
 +----
  
  • linux_wiki/pipelines.txt
  • Last modified: 2019/05/26 14:53
  • (external edit)