jenkins/lava-submit.jpl, ci.jpl: Setup tuxsuite for usage
Needed both for submission and for completion waiting.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I1b367726069c3e49182070dab0fc088ee6a9aeda
diff --git a/jenkins/ci.jpl b/jenkins/ci.jpl
index e779acd..f6ec1bf 100644
--- a/jenkins/ci.jpl
+++ b/jenkins/ci.jpl
@@ -380,6 +380,9 @@
stage("Tests") {
dir("tf-m-ci-scripts") {
checkout([$class: 'GitSCM', branches: [[name: '$CI_SCRIPTS_BRANCH']], userRemoteConfigs: [[credentialsId: 'GIT_SSH_KEY', url: '$CI_SCRIPTS_REPO']]])
+ withCredentials([string(credentialsId: 'TUXSUITE_TOKEN', variable: 'TUXSUITE_TOKEN')]) {
+ sh "jenkins/tuxsuite-setup.sh"
+ }
}
def all_jobs = []
def success = true