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

Add private repository support #90

Closed samuelbernardolip closed 4 years ago

samuelbernardolip commented 4 years ago

Is possible to define for each config.project_repo the property credentials_id. This will allow to fetch from private repository. Since GIT_ASKPASS environment variable is defined it should be also possible to push into repository (need to be tested).

For triggered repository credentials need to be passed as argument to pipelineConfig. This will override the default scm checkout behavior.

It is also possible to use the config.Credentials namespace to add any required credentials.

Closes #78 Closes #48