4 Replies Latest reply on Jan 21, 2015 7:02 AM by Edgar Fernandes

    BSA : How to uncheck "Preserve staging area on failure" on a deploy job with blcli?

      Hello,

       

      I would like to uncheck the box "Preserve staging area on failure" on a deploy job with blcli commands.

       

      I tried this :

      ...

      blcli_storeenv DEPLOY_JOB_DBKEY

      blcli_execute Utility storeTargetObject MY_OBJECT

      blcli_execute Utility setTargetObject ${MY_OBJECT}

      blcli_execute DeployJob setPreserveDeployStagingDirOnFailure false

       

      ...but nothing happened.

      However, I got a "void" on the result command.

       

      Any suggestions?

       

      Thanks.