Fix SSH heredoc syntax in Jenkinsfile for publishing repository
This commit is contained in:
Vendored
+1
-1
@@ -57,7 +57,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sshagent(['srv01_elordenador_org']) {
|
sshagent(['srv01_elordenador_org']) {
|
||||||
sh '''
|
sh '''
|
||||||
ssh ${APTLY_HOST} << EOF
|
ssh ${APTLY_HOST} << 'EOF'
|
||||||
SNAPSHOT="espos-build-${BUILD_NUMBER}"
|
SNAPSHOT="espos-build-${BUILD_NUMBER}"
|
||||||
aptly snapshot create $SNAPSHOT from repo espos-unstable
|
aptly snapshot create $SNAPSHOT from repo espos-unstable
|
||||||
aptly repo add ${APTLY_REPO} /tmp/*.deb
|
aptly repo add ${APTLY_REPO} /tmp/*.deb
|
||||||
|
|||||||
Reference in New Issue
Block a user