Web/Jenkinsfile
2020-04-02 21:54:20 +02:00

25 lines
No EOL
356 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
node blog.js
node sitemap.js
node rss.js'''
}
}
}
}