Ajout message d'information sur l'environnement/branche de destination

This commit is contained in:
wpetit 2019-02-05 12:02:57 +01:00
parent df2c464665
commit a95f051dc2
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ def publish(
withCredentials([
sshUserPrivateKey(credentialsId: sshCredentialsId, keyFileVariable: 'VULCAIN_SSH_KEY', usernameVariable: 'VULCAIN_SSH_USER')
]) {
echo "Publishing packages to '${packagesEnv}/${packagesBranch}'"
sh """
SSH_ARGS='-i ${VULCAIN_SSH_KEY} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
ssh \$SSH_ARGS ${VULCAIN_SSH_USER}@${vulcainHost} mkdir -p '/home/${VULCAIN_SSH_USER}/packages/${packagesEnv}/${packagesBranch}'