Jenkins Test 2
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit
This commit is contained in:
parent
64d96165fe
commit
a0eb86be7b
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -4,11 +4,11 @@ pipeline {
|
||||
agent {
|
||||
label 'linux'
|
||||
}
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
}
|
||||
stages {
|
||||
when {
|
||||
beforeAgent true;
|
||||
branch 'main'
|
||||
}
|
||||
stage('NPM Install') {
|
||||
steps {
|
||||
sh 'npm clean-install'
|
||||
@ -16,7 +16,8 @@ pipeline {
|
||||
}
|
||||
stage('Compile Adblock List') {
|
||||
steps {
|
||||
sh 'npm run compile'
|
||||
// sh 'npm run compile'
|
||||
sh 'echo "Compiling Adblock List...">test.txt'
|
||||
}
|
||||
}
|
||||
stage('git push') {
|
||||
|
Reference in New Issue
Block a user