web label
All checks were successful
Web/pipeline/head This commit looks good
Jenkins
Ellpeck/Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2023-04-11 14:31:21 +02:00
parent 3ce650ea86
commit a1c0452607

12
Jenkinsfile vendored
View file

@ -1,9 +1,9 @@
pipeline {
agent any
agent { label 'web' }
stages {
stage('Build') {
when {
branch 'master'
when {
branch 'master'
}
steps {
sh '''cd main
@ -12,8 +12,8 @@ pipeline {
}
}
stage('Deploy') {
when {
branch 'master'
when {
branch 'master'
}
steps {
sh "rm -rf /var/www/ellpeck/*"
@ -21,4 +21,4 @@ pipeline {
}
}
}
}
}