blob: ee344a6cd585c6e3a5efab3d7e319fa25f31afcf [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'
Andy Bavier392a40c2017-02-12 10:30:32 -08008 sh "~/cord/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}