aboutsummaryrefslogtreecommitdiff
path: root/jenkins/bisect.jpl
diff options
context:
space:
mode:
authorGuillaume Tucker <guillaume.tucker@collabora.com>2018-05-18 09:54:12 +0100
committerMatt Hart <github@blacklabsystems.com>2018-05-23 14:33:19 +0100
commit47bfc8bfcec8e9dbec38e4fdc1a614755c93778f (patch)
tree4f3f30004624a16e51fa46f390a14ad77ec153da /jenkins/bisect.jpl
parent147c7cf35cd6e9e90639fc1d663fbd4ef4b5e092 (diff)
bisect.jpl: use lab-<something>-lava-api token names
Use the new token naming convention to consolidate how tokens are called on every Jenkins instance. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'jenkins/bisect.jpl')
-rw-r--r--jenkins/bisect.jpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins/bisect.jpl b/jenkins/bisect.jpl
index 413311c..3ee1cfa 100644
--- a/jenkins/bisect.jpl
+++ b/jenkins/bisect.jpl
@@ -1,7 +1,7 @@
#!/usr/bin/env groovy
/*
- Copyright (C) 2017 Collabora Limited
+ Copyright (C) 2017, 2018 Collabora Limited
Author: Guillaume Tucker <guillaume.tucker@collabora.com>
This module is free software; you can redistribute it and/or modify it under
@@ -253,7 +253,7 @@ def submitJob(lava_ci, describe, hook) {
}
def egg_cache = eggCache()
- def token = "LAVA XMLRPC Token for " + params.LAB.split('-dev')[0]
+ def token = "${params.LAB}-lava-api"
withCredentials([string(credentialsId: token, variable: 'SECRET')]) {
sh(script: """