only build when src/* changes
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user