4 Replies Latest reply on Mar 15, 2011 9:42 AM by Richard Bayer

    Delete provision jobs with blcli?

    Richard Bayer



      does anyone has a clue how you can delete old provision jobs with the help of blcli?


      What I tried so far is this:


      # blcli_execute JobGroup groupNameToId "/YOUR-JOB-GROUP"
      # blcli_storeenv GRPID
      # blcli_execute Job findByTypeGroupAndName 5029 $GRPID "YOUR-JOB-NAME"
      # blcli_execute Job setDeleted true
      # blcli_execute Job update


      Then the provision job disappears, but you are not able to create a new one with the same name. Then BL tells you that a job with this name already exists. Could be a bug, but I'm not sure, if I'm doing anything wrong.