You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JePL allows to fetch the code version that triggered the build (instead of a fixed version defined in config:project_repos) and use that for the validation of the given criterion. This is done by removing the repos property within sqa_criteria:<criterion>, and currently supported by the jpl-validator.
There is an additional feature that can be added in the web and performed by the API. In the event of having such type of non-repo definitions for a given criterion (basically what this issue is dealing), it is known that the "Run pipeline" feature will not have the code in the (*.sqaaas) repository, and thus the pipeline execution will not succeed.
One solution for this is that whenever the "Run pipeline" is requested by the user, the web warns about this fact and provides the possibility to fetch the code from the upstream repository the pipeline is meant to be added. This will mimic the future execution of the pipeline in the appropriate environment.
JePL allows to fetch the code version that triggered the build (instead of a fixed version defined in
config:project_repos
) and use that for the validation of the given criterion. This is done by removing therepos
property withinsqa_criteria:<criterion>
, and currently supported by the jpl-validator.Unfortunately, this feature is not yet documented in JePL, there is an issue for that: indigo-dc/jenkins-pipeline-library#142
The text was updated successfully, but these errors were encountered: