Skip to content

Commit

Permalink
Jenkinsfile additions.
Browse files Browse the repository at this point in the history
  • Loading branch information
valerius2k committed May 21, 2022
1 parent 4193aa7 commit c580323
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Jenkinsfile
Expand Up @@ -9,12 +9,23 @@ for (x in labels) {
// Create a map to pass in to the 'parallel' step so we can fire all the builds at once
builders[label] = {
node (label) {
echo "Running build ${env.BUILD_ID} on ${env.JENKINS_URL}"
stage ('Pull submodules') {
cmd 'git submodule update --init --recursive'
cmd 'git submodule update --remote --recursive'
}

if (label == 'linux-docker-i386')
cmd './_wcc.sh'
else
cmd '_wcc.cmd'
stage ('Build') {
echo "Running build ${env.BUILD_ID} on ${env.JENKINS_URL}"

if (label == 'linux-docker-i386')
cmd './_wcc.sh'
else
cmd '_wcc.cmd'
}

stage ('Done') {
echo 'Done.'
}
}
}
}
Expand Down

0 comments on commit c580323

Please sign in to comment.