-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcicd-dev.groovy
More file actions
23 lines (22 loc) · 1.05 KB
/
cicd-dev.groovy
File metadata and controls
23 lines (22 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
node('linux')
{
stage ('Poll') {
// Poll from upstream:
checkout([
$class: 'GitSCM',
branches: [[name: '*/devel']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
userRemoteConfigs: [[url: "https://github.com/bminor/bash.git"]]])
// Poll from local
checkout([
$class: 'GitSCM',
branches: [[name: '*/main']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
userRemoteConfigs: [[url: 'https://github.com/zopencommunity/bashport.git']]])
}
stage('Build') {
build job: 'Port-Pipeline', parameters: [string(name: 'PORT_GITHUB_REPO', value: 'https://github.com/zopencommunity/bashport.git'), string(name: 'PORT_DESCRIPTION', value: 'Bash is the GNU Projects the Bourne Again SHell' ), string(name: 'BUILD_LINE', value: 'DEV'), string(name: 'NODE_LABEL', value: "v2r4")]
}
}