Web/Jenkinsfile
Ell 08ce564bfa
Some checks failed
Web/pipeline/head There was a failure building this commit
?
2021-03-17 19:27:17 +01:00

21 lines
No EOL
317 B
Groovy

pipeline {
agent {
node {
label 'main'
customWorkspace '/var/www/ellpeck'
}
}
stages {
stage('Node') {
when {
branch 'master'
}
steps {
sh '''cd ./node
npm install
node blog.js
node rss.js'''
}
}
}
}