chore: put node tool back in Jenkinsfile lol
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit

This commit is contained in:
Daniel Ledda
2021-08-28 21:45:23 +02:00
parent df02010e0f
commit 83a59ebf6b

30
Jenkinsfile vendored
View File

@@ -1,19 +1,19 @@
pipeline {
agent any
tools {
nodejs "node"
}
stages {
stage('Build') {
steps {
sh 'npm install'
sh 'npm run build'
}
agent any
tools {
nodejs "node"
}
stage('Deploy') {
steps {
sh 'rsync ./public /var/www/public/html/drums'
}
stages {
stage('Build') {
steps {
sh 'npm install'
sh 'npm run build'
}
}
stage('Deploy') {
steps {
sh 'rsync ./public /var/www/public/html/drums'
}
}
}
}
}