Jenkins Test 2
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit

This commit is contained in:
Andreas Fahrecker 2024-04-10 01:43:07 +02:00
parent 64d96165fe
commit a0eb86be7b

5
Jenkinsfile vendored
View File

@ -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') {