mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
21 lines
No EOL
621 B
Groovy
21 lines
No EOL
621 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
parameters {
|
|
gitParameter branchFilter: '.*/(.*)', defaultValue: 'hoogabooga', name: 'BRANCH', type: 'PT_BRANCH'
|
|
}
|
|
|
|
stages {
|
|
stage('Show the branch 1') {
|
|
steps {
|
|
sh '/bin/true'
|
|
echo "BRANCH IS: ${params.BRANCH}"
|
|
}
|
|
}
|
|
}
|
|
|
|
node('master') {
|
|
build job: 'build', parameters: [string(name: 'Branch', value: "${env.BRANCH_NAME}")], propagate: true, wait: true
|
|
build job: 'release', parameters: [string(name: 'Branch', value: "${env.BRANCH_NAME}")], propagate: true, wait: true
|
|
}
|
|
} |