indigo-dc / jenkins-pipeline-library

Jenkins pipeline library with common functionalities for CI/CD environments, mainly targeted for the implementation of the SQA baseline requirements from https://indigo-dc.github.io/sqa-baseline/
Apache License 2.0
11 stars 6 forks source link

Return pipeline stage results when calling buildStages() #165

Closed orviz closed 2 years ago

orviz commented 2 years ago

buildStages() method shall be able to gather and return the outputs of each stage being created.

Likewise, JePL should provide a means to access those outputs once the build has been completed (SQAaaS API is the obvious use case). A possible solution to this issue is to generate a JSON file and store it as part of the Jenkins build metadata.

Depends on https://github.com/indigo-dc/jenkins-pipeline-library/issues/162

samuelbernardolip commented 2 years ago

@orviz I think this issue is outdated, since current implementation don't need this. Also JePL is not intended to return any output. Any information about the pipelines should be collected from Jenkins API, or using any reporting plugin or any script managed by the pipeline definition. I'm closing this issue for now.