Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat (protecodeExecuteScan) enhancing protecode step with registry credentials #4378

Merged
merged 6 commits into from
Jun 14, 2023

Conversation

anilkeshav27
Copy link
Member

@anilkeshav27 anilkeshav27 commented May 25, 2023

Changes

protecode step when running after the build stage is unaware of the docker credentials that are created during the build stage.
with these changes the registry username and password are new parameters for the step which get the values from the build stage.

these credentials are then updated in the docker config json file. if a user provided docker config json exists then the step will respect the file and enhance with the new credentials

  • Tests
  • Documentation

@vstarostin vstarostin marked this pull request as ready for review May 25, 2023 19:24
@vstarostin vstarostin requested a review from a team as a code owner May 25, 2023 19:24
Copy link
Member

@vstarostin vstarostin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@vstarostin
Copy link
Member

@UmidjonUrunov could you take a look?

@vstarostin vstarostin requested a review from a team June 5, 2023 06:58
Copy link
Contributor

@UmidjonUrunov UmidjonUrunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@licheng5625
Copy link

A big thx.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@anilkeshav27
Copy link
Member Author

/it-go

@anilkeshav27 anilkeshav27 merged commit 39d52a2 into master Jun 14, 2023
@anilkeshav27 anilkeshav27 deleted the anil/protecodeDockerConfigFix branch June 14, 2023 07:11
maxatsap pushed a commit to maxatsap/jenkins-library that referenced this pull request Jul 23, 2024
…edentials (SAP#4378)

* enhancing protecode with registry credentials

* Use protecodeUtils instead of separate package

* Add target path for docker config to be created

* Fix tests

* Fix build flags

---------

Co-authored-by: Vyacheslav Starostin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants