2 Replies Latest reply on Oct 5, 2016 7:51 PM by James Donohue

    using if after blcli_storeenv always generates an error

    James Donohue

      Hi,

       

      Does anyone know what I'm doing wrong here. Seems like a simple command that I just cannot get working (again)!

       

       

      blcli_execute JobGroup groupExists "$WI_RELEASE_GROUP" >/dev/null

      blcli_storeenv wi_exists

      if ["${wi_exists}"="false"]

      then

         blcli_execute JobGroup createGroupWithParentName "$RELEASE_DATE" "$JOBS_WORK_INITIATIVE_TARGET_PATH" > /dev/null 2>&1

         blcli_storeenv JOB_GROUP1_ID

      fi

       

      Error Oct 5, 2016 7:43:36 PM /bladelogic/nsh/NSH/tmp/lpnobj55pappri_c/scripts/job__19519165-44c9-4465-87da-84421c1d49a3/script_DBKey-SJobKeyImpl-10768183-4__641ab76b-15fa-4d83-bf7c-1c13f64b3742.5716086.1_n.nsh:186: no matches found: [true=false]