Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.28 KB | None | 0 0
  1. root/Jenkinsfile:
  2.  
  3. pipeline {
  4.   stage('checkout') { steps { scm checkout } }
  5.   stage ('build proj1') {
  6.     when { changeset 'proj1/*' }
  7.     // load stages from proj1/stages
  8.    }
  9.  
  10.   stage('build proj2') {
  11.     when { changeset 'proj2/*' }
  12.     // load stages from proj2/stages
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement