It is useful to have the id of the newly created execution id available in the stdout (for non-interactive use cases).
This is not the case for
|
cli.action.stop(`started execution ID ${result.id}`) |
as the spinner is overwriting output in stdout.
The only way to get hold of the output is via the {{-a}} option: https://github.com/wblachowski/cm-jenkins-helpers/blob/7762702130cec073abddef51eb4268a8d28465bd/jenkins-config/pipelines/pipeline-cm-deploy.Jenkinsfile#L14
The return value of of the run method is not evaluated. A table should be emitted similar to what is done in
. That way both json and regular format could be supported.
It is useful to have the id of the newly created execution id available in the stdout (for non-interactive use cases).
This is not the case for
aio-cli-plugin-cloudmanager/src/commands/cloudmanager/pipeline/create-execution.js
Line 35 in b95ae82
The only way to get hold of the output is via the {{-a}} option: https://github.com/wblachowski/cm-jenkins-helpers/blob/7762702130cec073abddef51eb4268a8d28465bd/jenkins-config/pipelines/pipeline-cm-deploy.Jenkinsfile#L14
The return value of of the run method is not evaluated. A table should be emitted similar to what is done in
aio-cli-plugin-cloudmanager/src/commands/cloudmanager/execution/get-step-details.js
Line 42 in b95ae82