Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
22 lines
434 B
Groovy
22 lines
434 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/bash -l
|
|
/usr/bin/rsync ./public /var/www/public/html/drums'
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|