only build when src/* changes

This commit is contained in:
danielclough
2020-12-30 08:20:38 +01:00
parent 414105427b
commit 4dcc62a321

3
Jenkinsfile vendored
View File

@@ -2,8 +2,9 @@ pipeline {
agent { label 'master' }
stages {
stage('build') {
when { changeset pattern: "src/*", caseSensitive: true }
steps {
sh "contrib/docker/build.sh -o aarch64-linux-gnu blackcoinnl github CoinBlack " + env.GIT_LOCAL_BRANCH + " Etc/UTC"
sh "contrib/docker/build.sh -o x86_64-linux-gnu blackcoinnl github CoinBlack" + env.GIT_LOCAL_BRANCH + " Etc/UTC"
}
}
}