Ignore Jenkins Build Changes for Builds
All checks were successful
andreas-personal/AndysAdguardHomeBlockList/pipeline/head This commit looks good
All checks were successful
andreas-personal/AndysAdguardHomeBlockList/pipeline/head This commit looks good
This commit is contained in:
parent
5f43bde9b8
commit
e5dc72f199
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -9,6 +9,9 @@ pipeline {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'git checkout main'
|
||||
@ -18,6 +21,9 @@ pipeline {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'npm clean-install'
|
||||
@ -27,6 +33,9 @@ pipeline {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'mkdir -p out'
|
||||
@ -41,6 +50,9 @@ pipeline {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
withCredentials([
|
||||
|
Reference in New Issue
Block a user