fine I give up
Some checks failed
Web/pipeline/head There was a failure building this commit

This commit is contained in:
Ell 2021-03-17 19:46:58 +01:00
parent c87e5ad8a8
commit 15d6f5f674

19
Jenkinsfile vendored
View file

@ -1,18 +1,21 @@
pipeline {
agent {
node {
label 'main'
customWorkspace '/var/www/ellpeck'
}
}
agent any
stages {
stage('Pull') {
when {
branch 'master'
}
steps {
sh '''cd /var/www/ellpeck
git pull'''
}
}
stage('Node') {
when {
branch 'master'
}
steps {
sh '''ls
cd /var/www/ellpeck/node
sh '''cd /var/www/ellpeck/node
npm install
node blog.js
node rss.js'''