Files
arne-drums/Jenkinsfile
Daniel Ledda 0a6bf36bf3
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
fix: fixed rsync command
2021-08-29 16:42:52 +02:00

20 lines
375 B
Groovy

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