Added waitForJobCompletion
input parameter and result-url
output parameter
#2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR, I am adding the following input parameter to the action:
waitForJobCompletion
- If true, wait for the job to be completed. If false, run the job and exit. Default is true.I am also adding the following output parameter to the action:
result-url
- The ACCELQ URL to access the job resultsThe
waitForJobCompletion
parameters allows to use this action in a fire-and-forget manner, which is particularly useful when the execution of the ACCELQ job requires a large amount of time and should be completed independently from the CI pipeline job.Coupled with the
result-url
output parameter, it becomes possible to return the ACCELQ job URL to the CI job so that it can be posted, for instance, to a Slack channel for later access.Moreover, I added a complete description of the actions parameters to the README file to help understanding how to use this action.