blob: 492100a889a116179f5550b88628a17f439d6245 [file] [log] [blame]
Andy Bavier30767cd2016-12-23 16:32:18 -05001node ('ciab-build') {
2 try {
3 stage 'Run CORD-in-a-Box script'
4 sh "curl -o cord-in-a-box.sh https://raw.githubusercontent.com/opencord/cord/master/scripts/cord-in-a-box.sh"
5 sh "bash ./cord-in-a-box.sh -c"
Andy Baviera8049272016-11-21 14:52:21 -05006
Andy Bavier30767cd2016-12-23 16:32:18 -05007 stage 'Run end-to-end tests'
8 sh "~/opencord/build/scripts/run-tests.sh"
Andy Baviera8049272016-11-21 14:52:21 -05009
Andy Bavier30767cd2016-12-23 16:32:18 -050010 currentBuild.result = 'SUCCESS'
11 } catch (err) {
12 currentBuild.result = 'FAILURE'
13 step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'cord-dev@opencord.org', sendToIndividuals: false])
14 } finally {
15 }
Andy Baviera8049272016-11-21 14:52:21 -050016
Andy Bavier30767cd2016-12-23 16:32:18 -050017 echo "RESULT: ${currentBuild.result}"
Andy Baviera8049272016-11-21 14:52:21 -050018}