← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Merge] ~andersson123/qa-jenkins-jobs:shell-eq into qa-jenkins-jobs:master

 

Tim Andersson has proposed merging ~andersson123/qa-jenkins-jobs:shell-eq into qa-jenkins-jobs:master.

Requested reviews:
  Canonical Platform QA Team (canonical-platform-qa)

For more details, see:
https://code.launchpad.net/~andersson123/qa-jenkins-jobs/+git/qa-jenkins-jobs/+merge/470688

quick bugfix, I wasn't using the correct comparison operator for sh
-- 
Your team Canonical Platform QA Team is requested to review the proposed merge of ~andersson123/qa-jenkins-jobs:shell-eq into qa-jenkins-jobs:master.
diff --git a/jobs/hardware-iso-testing/jobs.yaml b/jobs/hardware-iso-testing/jobs.yaml
index cbe839a..bc9372a 100644
--- a/jobs/hardware-iso-testing/jobs.yaml
+++ b/jobs/hardware-iso-testing/jobs.yaml
@@ -51,7 +51,7 @@
             . venv/bin/activate
             pip3 install -r requirements.txt
             development_release=$(distro-info --devel || echo UNKNOWN)
-            if [ {release} == $development_release ]; then
+            if [ {release} = $development_release ]; then
                 iso_url="https://cdimage.ubuntu.com/daily-live/current";
             else
                 iso_url="https://cdimage.ubuntu.com/{release}/daily-live/current";

References