try without docker
This commit is contained in:
parent
e127d1fd33
commit
846672c723
20
automation/Jenkinsfile
vendored
20
automation/Jenkinsfile
vendored
@ -1,21 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
//agent {
|
||||||
dockerfile {
|
//dockerfile {
|
||||||
dir 'automation'
|
//dir 'automation'
|
||||||
reuseNode true
|
//reuseNode true
|
||||||
}
|
//}
|
||||||
}
|
//}
|
||||||
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Deployment') {
|
stage('Deployment') {
|
||||||
when {
|
when {
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'echo Hello World'
|
sshagent(credentials: ['documentation-buildfix']) {
|
||||||
// sshagent(credentials: ['documentation-buildfix']) {
|
|
||||||
// Deploy to Apache webserver
|
// 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:/'
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user