Ignore Jenkins Build Changes for Builds
All checks were successful
andreas-personal/AndysAdguardHomeBlockList/pipeline/head This commit looks good

This commit is contained in:
Andreas Fahrecker 2024-04-10 17:35:20 +02:00
parent 5f43bde9b8
commit e5dc72f199

12
Jenkinsfile vendored
View File

@ -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([