Commit bdab91fa authored by Adrien's avatar Adrien Committed by Thomas Bouffard

chore(ci): send slack notification on failure + launch checks in parallel (#16)

parent 590bab51
......@@ -8,23 +8,39 @@ pipeline {
timestamps()
}
stages {
stage('Check Windows Sign Service') {
steps {
dir('infrastructure/sanity-checks') {
sh '''#!/bin/bash +x
set -euo pipefail
./check.sh --windows-sign-url ${SIGN_SERVICE_URL}
'''
script {
try {
sh '''#!/bin/bash +x
set -euo pipefail
./check.sh --windows-sign-url ${SIGN_SERVICE_URL}
'''
} catch (e) {
slackSend(color: 'danger', channel: '#studio-human', message: "Code sign windows is failing")
throw e
}
}
}
}
}
stage('Check Mac Sign Service') {
steps {
dir('infrastructure/sanity-checks') {
sh '''#!/bin/bash +x
set -euo pipefail
./check.sh --mac-sign-url ${MAC_SIGN_SERVICE_URL}
'''
script {
try {
sh '''#!/bin/bash +x
set -euo pipefail
./check.sh --mac-sign-url ${MAC_SIGN_SERVICE_URL}
'''
} catch (e) {
slackSend(color: 'danger', channel: '#studio-human', message: "Code sign mac is failing")
throw e
}
}
}
}
}
......
Markdown is supported
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