All checks were successful
ben.de-roo.org/pipeline/head This commit looks good
28 lines
575 B
Groovy
28 lines
575 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
triggers {
|
|
pollSCM('') // Webhook triggert build
|
|
}
|
|
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
checkout scm
|
|
}
|
|
}
|
|
|
|
stage('Deploy to web14') {
|
|
steps {
|
|
sshagent(credentials: ['ben.de-roo.org']) {
|
|
sh '''
|
|
rsync -avz --delete \
|
|
--exclude .git \
|
|
./ www-data@web14:/var/www/html/
|
|
'''
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|