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
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -4,11 +4,11 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
label 'linux'
|
label 'linux'
|
||||||
}
|
}
|
||||||
|
stages {
|
||||||
when {
|
when {
|
||||||
beforeAgent true;
|
beforeAgent true;
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
stages {
|
|
||||||
stage('NPM Install') {
|
stage('NPM Install') {
|
||||||
steps {
|
steps {
|
||||||
sh 'npm clean-install'
|
sh 'npm clean-install'
|
||||||
@ -16,7 +16,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Compile Adblock List') {
|
stage('Compile Adblock List') {
|
||||||
steps {
|
steps {
|
||||||
sh 'npm run compile'
|
// sh 'npm run compile'
|
||||||
|
sh 'echo "Compiling Adblock List...">test.txt'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('git push') {
|
stage('git push') {
|
||||||
|
Reference in New Issue
Block a user