Some checks failed
Gitea djledda.de/arne-drums/pipeline/head Something is wrong with the build of this commit
20 lines
366 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|