13 Replies Latest reply on Mar 28, 2014 12:24 PM by Kris NameToUpdate

    BladeLogic CLI retrieve job parameter values

    Kris NameToUpdate

      Running into an issue while trying to capture parameter values on NSH script job using BL CLI through Configuration Manager 7.6.0



      getNSHParams is failing with IllegalArgumentException. Basically I would like to retrieve current parameter value, replace a string in existing value and apply modified value. But not by clearing all the current values and re-apply them.


      blcli_execute NSHScriptJob getDBKeyByGroupAndName ${jobGroup} ${jobName}
      blcli_execute NSHScript getNSHParams

      #blcli_execute Utility setTargetObject

      #blcli_execute NSHScriptParam getName

      #blcli_execute Utility setTargetObject

      #blcli_execute Utility listPrint

      #blcli_storeenv values

      Info Sep 21, 2012 3:28:01 PM trueLOOP Copy_batchDeployListAndEars_dev01
      Info Sep 21, 2012 3:28:03 PM DBKey:SJobKey:6316835-5
      Error Sep 21, 2012 3:24:45 PM Command execution failed. java.lang.IllegalArgumentException: object is not an instance of declaring class




      Thank you