Files
arne-drums/Jenkinsfile
Daniel Ledda 76b8a427bc
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
feat: added lots of ui
2021-08-29 22:54:36 +02:00

23 lines
411 B
Groovy

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