test
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
e5dc72f199
commit
78867b7ef3
32
Jenkinsfile
vendored
32
Jenkinsfile
vendored
@ -8,9 +8,11 @@ pipeline {
|
||||
stage('Checkout') {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
allOf {
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
steps {
|
||||
@ -20,9 +22,11 @@ pipeline {
|
||||
stage('NPM Install') {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
allOf {
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
steps {
|
||||
@ -32,9 +36,11 @@ pipeline {
|
||||
stage('Compile Adblock List') {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
allOf {
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
steps {
|
||||
@ -49,9 +55,11 @@ pipeline {
|
||||
stage('git push') {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
allOf {
|
||||
branch 'main'
|
||||
not {
|
||||
changeset 'out/andysadguardhomeblocklist.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
steps {
|
||||
|
Reference in New Issue
Block a user