diff --git a/Jenkinsfile b/Jenkinsfile index 6b8b8cf..f7a02a8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,16 +59,16 @@ pipeline { withCredentials([ string( - credentialsId: 'espos-gpg-passphrase', + credentialsId: 'aptly_gpg_pass', variable: 'GPG_PASS' ) ]) { sh ''' ssh ${APTLY_HOST} "GPG_PASS='$GPG_PASS' bash -s" << 'EOF' - + aptly repo add espos-unstable /tmp/*.deb - + if aptly publish list | grep -q espos-unstable then aptly publish update \ @@ -81,7 +81,7 @@ pipeline { -passphrase="$GPG_PASS" \ espos-unstable fi - + EOF ''' }