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