test
parent
c228c60f22
commit
b569edf93d
|
@ -66,7 +66,7 @@ pipeline {
|
|||
sshagent (credentials : ['aptly-key']) {
|
||||
withCredentials([string(credentialsId: 'aptly-gpg-passphrase', variable: 'GPG_PASSPHRASE')]) {
|
||||
sh '''
|
||||
aptly=72.17.8.68
|
||||
aptly=172.17.8.68
|
||||
scp -o StrictHostKeyChecking=no build/OGBrowser-2.0.${BUILD_NUMBER}-Linux.deb aptly@${aptly}:/tmp
|
||||
ssh aptly@${aptly} -o StrictHostKeyChecking=no "aptly repo add ogbrowser /tmp/OGBrowser-2.0.${BUILD_NUMBER}-Linux.deb"
|
||||
ssh aptly@${aptly} -o StrictHostKeyChecking=no "aptly publish repo --passphrase=\"${GPG_PASSPHRASE}\" -- ogbrowser"
|
||||
|
|
Loading…
Reference in New Issue