chore: hook-test

This commit is contained in:
Daniel Ledda
2021-09-04 09:23:15 +02:00
parent 35c94c61bd
commit 43569dcae7

22
Jenkinsfile vendored
View File

@@ -1,22 +0,0 @@
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
'''
}
}
}
}