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') {
|
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 {
|
||||||
|
Reference in New Issue
Block a user