BuildJob command fails to execute in the CommandLine API

Problem Description

When you try to execute the initRemote and logonProject commands, they are executed successfully. However, the buildJob command fails to execute, and the Zip file is not built in the destination directory path specified.

 

Root Cause

The Job version specified as jv is not correct. The Job has no such specified version.

Error: java.lang.RuntimeException: java.lang.IllegalStateException: could not find process with name : JOBNAME and version : VERSION

 

Solution

Follow these steps:

  1. Verify the Job version of the Job.
  2. Execute the buildJob command with the proper information about the Job.
  3. To verify the status of the execution of the commands, execute listCommand -a.
  4. A Zip file will be created in the destination directory path specified in the command.

    Note: verify all the information of the Job specified in the command, especially the Job version.

Version history
Revision #:
5 of 5
Last update:
‎09-29-2018 12:18 AM
Updated by: