1 Reply Latest reply on Apr 21, 2017 6:50 AM by Bill Robinson

    Find job of any type by group and name

    Artur Rychlewicz

      Here's what I am trying to do:


      blcli_execute PatchingJob getDBKeyByGroupAndName "$GROUP" "$JOB_NAME"
      blcli_storeenv jobKey
      # ...
      blcli_execute Job addTargetServer "$jobKey" "$server"


      As you can see, for now I am using PatchingJob namespace, however I'd like to expand my script to use any job type (DeployJob, NSHScriptJob, BatchJob, etc.) without user interaction. Can this be achieved through blcli? I've been looking in Job namespace, but there are only commands which require to specify type, which in my case is unknown.