Unverified Commit 27be9f50 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

Jenkinsfile: Partial deployment, follow up.

This is a follow up to commit 4ee93922, which introduced partial

The unstash operation also needs to be handled specially, as it may
now fail attempting to unstash an item that could not be stashed

* Jenkinsfile ('Sign & deploy packages'): Skip target deployment when
it fails to be unstashed.

Change-Id: I59341e4c3bb007125402f4b28979d0e8e963757d
parent a9ae457f
......@@ -186,7 +186,12 @@ See https://wiki.savoirfairelinux.com/wiki/Jenkins.jami.net#Configuration"
steps {
script {
TARGETS.each { target ->
unstash target
try {
unstash target
} catch (err) {
echo "Failed to unstash ${target}, skipping..."
def distribution = target - ~/^package-/
echo "Deploying packages for ${distribution}..."
sh """scripts/deploy-packages.sh \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment