Add Jenkinsfile
Some checks failed
ben.de-roo.org/pipeline/head There was a failure building this commit

This commit is contained in:
2025-12-22 11:53:05 +01:00
parent 9b026d6750
commit b8f2e8ae68

27
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,27 @@
pipeline {
agent any
triggers {
pollSCM('') // Webhook triggert build
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Deploy to web14') {
steps {
sshagent(credentials: ['web14-www-data-ssh']) {
sh '''
rsync -avz --delete \
--exclude .git \
./ www-data@web14:/var/www/ben.de-roo.org/
'''
}
}
}
}
}