test
All checks were successful
andreas-personal/AndysAdguardHomeBlockList/pipeline/head This commit looks good

This commit is contained in:
Andreas Fahrecker 2024-04-10 17:38:07 +02:00
parent e5dc72f199
commit 78867b7ef3

32
Jenkinsfile vendored
View File

@ -8,9 +8,11 @@ pipeline {
stage('Checkout') { stage('Checkout') {
when { when {
beforeAgent true; beforeAgent true;
branch 'main' allOf {
not { branch 'main'
changeset 'out/andysadguardhomeblocklist.txt' not {
changeset 'out/andysadguardhomeblocklist.txt'
}
} }
} }
steps { steps {
@ -20,9 +22,11 @@ pipeline {
stage('NPM Install') { stage('NPM Install') {
when { when {
beforeAgent true; beforeAgent true;
branch 'main' allOf {
not { branch 'main'
changeset 'out/andysadguardhomeblocklist.txt' not {
changeset 'out/andysadguardhomeblocklist.txt'
}
} }
} }
steps { steps {
@ -32,9 +36,11 @@ pipeline {
stage('Compile Adblock List') { stage('Compile Adblock List') {
when { when {
beforeAgent true; beforeAgent true;
branch 'main' allOf {
not { branch 'main'
changeset 'out/andysadguardhomeblocklist.txt' not {
changeset 'out/andysadguardhomeblocklist.txt'
}
} }
} }
steps { steps {
@ -49,9 +55,11 @@ pipeline {
stage('git push') { stage('git push') {
when { when {
beforeAgent true; beforeAgent true;
branch 'main' allOf {
not { branch 'main'
changeset 'out/andysadguardhomeblocklist.txt' not {
changeset 'out/andysadguardhomeblocklist.txt'
}
} }
} }
steps { steps {