Web/Jenkinsfile
Ell c87e5ad8a8
Some checks are pending
Web/pipeline/head Build queued...
why is it not telling me what's wrong anywhere
2021-03-17 19:31:55 +01:00

22 lines
No EOL
349 B
Groovy

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