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 {
|
when {
|
||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
|
not {
|
||||||
|
changeset 'out/andysadguardhomeblocklist.txt'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'git checkout main'
|
sh 'git checkout main'
|
||||||
@ -18,6 +21,9 @@ pipeline {
|
|||||||
when {
|
when {
|
||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
|
not {
|
||||||
|
changeset 'out/andysadguardhomeblocklist.txt'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'npm clean-install'
|
sh 'npm clean-install'
|
||||||
@ -27,6 +33,9 @@ pipeline {
|
|||||||
when {
|
when {
|
||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
|
not {
|
||||||
|
changeset 'out/andysadguardhomeblocklist.txt'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'mkdir -p out'
|
sh 'mkdir -p out'
|
||||||
@ -41,6 +50,9 @@ pipeline {
|
|||||||
when {
|
when {
|
||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
|
not {
|
||||||
|
changeset 'out/andysadguardhomeblocklist.txt'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
|
Reference in New Issue
Block a user