Web/Jenkinsfile
Ell 15d6f5f674
Some checks failed
Web/pipeline/head There was a failure building this commit
fine I give up
2021-03-17 19:46:58 +01:00

25 lines
408 B
Groovy

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