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
1196994f0d
commit
e72ecc35a2
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -25,6 +25,8 @@ pipeline {
|
||||
if (sh(script: 'git log -1 --pretty=format:"%an"', returnStdout: true).trim() == 'Jenkins') {
|
||||
currentBuild.result = 'ABORTED'
|
||||
error('Last commit was by Jenkins, skipping build')
|
||||
} else {
|
||||
echo 'Last commit was not by Jenkins, continuing build'
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -45,7 +47,7 @@ pipeline {
|
||||
}
|
||||
steps {
|
||||
sh 'mkdir -p out'
|
||||
sh 'rm out/andysadguardhomeblocklist.txt'
|
||||
sh 'npm run compile:test'
|
||||
sh '''
|
||||
git add out/andysadguardhomeblocklist.txt
|
||||
git commit -m "Update Compiled Adblock List"
|
||||
|
Reference in New Issue
Block a user