Files
arne-drums/Jenkinsfile
Daniel Ledda d24e05b271
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head Something is wrong with the build of this commit
chore: fixed node toolname in Jenkinsfile
2021-08-28 21:47:35 +02:00

20 lines
366 B
Groovy

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