From: Kevin Hilman Date: Fri, 15 Mar 2019 22:49:07 +0000 (-0700) Subject: jjb/common: lavacli: no username in URL X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=1bda660568fec16c6e5fbf1a32f75b07cba00198;p=ci-management.git jjb/common: lavacli: no username in URL Don't use a URL with a username in it for the lavacli config file. The lavacli config file already has a `username` field, and having it also in the URL makes lavacli fail. Change-Id: I88e8ce06519b0b09476d5a4bc693b95b40f20e59 Signed-off-by: Kevin Hilman --- diff --git a/jjb/common/include-agl-lava-labs-prepare.sh b/jjb/common/include-agl-lava-labs-prepare.sh index ac46bf54..159d080b 100644 --- a/jjb/common/include-agl-lava-labs-prepare.sh +++ b/jjb/common/include-agl-lava-labs-prepare.sh @@ -71,7 +71,7 @@ for lab in "${!labs[@]}"; do # lavacli auth using token mkdir -p ~/.config - lavacli identities add --token ${token} --uri $full_url --username $user $lab + lavacli identities add --token ${token} --uri $url --username $user $lab # lavacli: Find the LAVA lab that has the device available to run the job echo -n "lavacli: Checking for $lava_device at $full_url... "