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

Xray Scan generates an exception #560

Closed
glevy opened this issue Sep 12, 2021 · 4 comments · Fixed by jfrog/build-info#554
Closed

Xray Scan generates an exception #560

glevy opened this issue Sep 12, 2021 · 4 comments · Fixed by jfrog/build-info#554
Assignees
Labels
bug Something isn't working

Comments

@glevy
Copy link

glevy commented Sep 12, 2021

Describe the bug
After upgrading to version 3.13.1 an exception is generated when scanning a Docker build
java.lang.IllegalArgumentException: Illegal issue type 'security'. Expecting either 'Security' or 'License'

Reverting back to 3.12.1 resolves this issue.

To Reproduce
Steps to reproduce the behavior

  1. run a Docker build, push it using the plugin and publish the build info.
  2. run xrayScan

Expected behavior
execute with no exception, or generate an exception indicating that violations were found.

Versions

  • Jenkins Artifactory plugin version: 3.13.1
  • Jenkins operating system: Docker
  • Artifactory Version: 7.19.4
@Doctorbal
Copy link

Doctorbal commented Sep 22, 2021

Why is this closed? The issue appears to be still outstanding in 3.13.1. Simply reverting back isn't a solution when upgrading to newer version.

Ah, I see a PR was merged to resolve this issue. When will it be available officially in the Jenkins plugin side?

@yahavi
Copy link
Member

yahavi commented Sep 23, 2021

@glevy & @Doctorbal
Jenkins Artifactory plugin 3.13.2 is released and includes a fix for this issue.
We'd appreciate your feedback on that.

@Doctorbal
Copy link

@yahavi , yes I can verify this works now. Thank you.

@glevy
Copy link
Author

glevy commented Sep 30, 2021

@yahavi, It is working now.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants