Web/Jenkinsfile
Ell a5067d2406
Some checks failed
Web/pipeline/head There was a failure building this commit
add a label
2021-03-17 19:23:34 +01:00

21 lines
No EOL
315 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'''
}
}
}
}