The use case for this option is when another Pipeline job wants call the VectorCAST pipeline job and has checked out the VectorCAST Project. This options sets up the following parameters to be passed in from another Pipeline Job.
- VCAST_PROJECT_DIR - Predeterminted location of the VectorCAST/Manage project that is passed in. When using this option do not specify a fully qualified path name to the VectorCAST/Manage Project
- VCAST_FORCE_NODE_EXEC_NAME - Forces VectorCAST Jobs to be run on a specific node instead of a node with a label matching the compiler
Syntax of what a calling job may use to call a parameterized VectorCAST Pipeline job
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE', catchInterruptions : false ) {
build job: 'UnitTestingProject_vcast_pipeline',
parameters: [string(name: 'VCAST_PROJECT_DIR', value: 'C:\\UnitTesting\\Project'),
string(name: 'VCAST_FORCE_NODE_EXEC_NAME', value: 'MyTestNode')]
}