Make LAVA_CREDENTIALS customizable
This will allow for different submission profiles, some account may be
able to submit to certain devices, and not others, therefore allowing
disabling of certain device-types if required.
Change-Id: I57f2ea65b3b9a7e5296c826796d4f7aa87273703
diff --git a/jenkins/lava-submit.jpl b/jenkins/lava-submit.jpl
index f247953..c9ba349 100644
--- a/jenkins/lava-submit.jpl
+++ b/jenkins/lava-submit.jpl
@@ -14,7 +14,7 @@
}
}
stage("LAVA") {
- withCredentials([usernamePassword(credentialsId: 'LAVA_CREDENTIALS', passwordVariable: 'LAVA_TOKEN', usernameVariable: 'LAVA_USER')]) {
+ withCredentials([usernamePassword(credentialsId: env.LAVA_CREDENTIALS, passwordVariable: 'LAVA_TOKEN', usernameVariable: 'LAVA_USER')]) {
print("Generating LAVA jobs...")
def bl2_string = ""
def psa_string = ""