Debug silent exception source.
jjb/pipeline/voltha/bbsim-tests.grooy
-------------------------------------
o Wrap function calls with enter()/leave() pairs to show progress.
vars/getVolthaCode.groovy
-------------------------
o Apply automatic editor formatting, indentation jumbled at some point.
o Added debug functions enter() & leave().
o Wrap checkouts / function calls with enter()/leave() pairs to
log script progress.
Change-Id: I7816583072403d20c7c89b119f84835f886a9bdb
diff --git a/jjb/pipeline/voltha/bbsim-tests.groovy b/jjb/pipeline/voltha/bbsim-tests.groovy
index 991ff5b..84752c8 100644
--- a/jjb/pipeline/voltha/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/bbsim-tests.groovy
@@ -538,6 +538,7 @@
stages {
stage('Download Code') {
steps {
+ enter('getVolthaCode')
getVolthaCode([
branch: "${branch}",
gerritProject: "${gerritProject}",
@@ -545,6 +546,7 @@
volthaSystemTestsChange: "${volthaSystemTestsChange}",
volthaHelmChartsChange: "${volthaHelmChartsChange}",
])
+ leave('getVolthaCode')
}
}
@@ -555,9 +557,11 @@
}
steps {
+ enter('buildVolthaComponent')
// NOTE that the correct patch has already been checked out
// during the getVolthaCode step
buildVolthaComponent("${gerritProject}")
+ leave('buildVolthaComponent')
}
}