try without docker

This commit is contained in:
Robin Müller 2023-09-19 21:17:02 +02:00
parent e127d1fd33
commit 846672c723
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -1,21 +1,21 @@
pipeline {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
//agent {
//dockerfile {
//dir 'automation'
//reuseNode true
//}
//}
agent any
stages {
stage('Deployment') {
when {
branch 'main'
}
steps {
sh 'echo Hello World'
// sshagent(credentials: ['documentation-buildfix']) {
sshagent(credentials: ['documentation-buildfix']) {
// Deploy to Apache webserver
// sh 'rsync -r --delete --exclude projects/* --exclude static/font-univers . buildfix@documentation.irs.uni-stuttgart.de:/'
// }
sh 'rsync -r --delete --exclude projects/* --exclude static/font-univers . buildfix@documentation.irs.uni-stuttgart.de:/'
}
}
}
}