Web/Jenkinsfile
Ell b7c9d13021
All checks were successful
Web/pipeline/head This commit looks good
removed stuff that got moved to a different repo
2021-07-07 15:32:03 +02:00

26 lines
No EOL
453 B
Groovy

pipeline {
agent any
stages {
stage('Pull') {
when {
branch 'master'
}
steps {
sh '''cd /var/www/ellpeck
git fetch
git checkout ${GIT_COMMIT} -f'''
}
}
stage('Node') {
when {
branch 'master'
}
steps {
sh '''cd /var/www/ellpeck/node
npm install
node blog.js
node rss.js'''
}
}
}
}