-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Create CycloneDX SBOM by default as a Jenkins Artifact #2900
Comments
@smlambert I can help this if you have other high priority jobs. |
@sophia-guo - that will be great! I have assigned us both (as I want to stay close on this, because I think there will be several pieces but I know you will be able to progress it faster than I will, thanks for the offer!). |
FYI @sophia-guo that first step is in @zdtsw 's PR adoptium/ci-jenkins-pipelines#296 enables the printing of SBOM to console @zdtsw - have you also put your name against SBOM work? Here is one way it could be broken down and shared...
|
@smlambert I actually changed my mind to move the "enabler" function into ci-jenkins-pipeline PR which has a better switch on/off by different pipeline. I did not put my name on any SBOM issue, because it is was not clear what #2785 is about, and i did not read detail about #2900, but look like the enabler is part of #2900 |
Another question: could we de-couple the implementation of cyclonedb-lib into its own git repo? |
re: #2900 (comment) as per discussion today, we will leave things in the temurin-build repo for now, as its only a handful of classes and compile time is nominal. This can be revisited later as needed. |
To make this issue easy to be split and assigned
|
changed back to old solution to enable OS except windows and aix for the time being:
|
…o BUILD_ARGS (#297) * feat: enable --create-sbom (in temurin-build) by passing new BUILD_ARGS - by default it is set to "true" - should be able to turn it off per each groovy config file * feat: enable setting from pipeline and passing down to downstream job * Revert "feat: enable setting from pipeline and passing down to downstream job" This reverts commit 3903c62. * Revert "feat: enable --create-sbom (in temurin-build) by passing new BUILD_ARGS" This reverts commit 5b95f3d. * feat: enable --create-sbom on jdk8/11/17/18/19 per each config * feat: enable --create-sbom (in temurin-build) by passing new BUILD_ARGS - by default it is set to "true" - should be able to turn it off per each groovy config file * feat: enable setting from pipeline and passing down to downstream job * Revert "feat: enable setting from pipeline and passing down to downstream job" This reverts commit 3903c62. * Revert "feat: enable --create-sbom (in temurin-build) by passing new BUILD_ARGS" This reverts commit 5b95f3d. * feat: enable --create-sbom on jdk8/11/17/18/19 per each config * Revert "feat: enable --create-sbom on jdk8/11/17/18/19 per each config" This reverts commit c01efad. * Revert "Revert "feat: enable --create-sbom on jdk8/11/17/18/19 per each config"" This reverts commit 92dff31. * feat: enable --create-sbom on OS except windows and aix Ref: adoptium/temurin-build#2900 * fix: add AIX to run with --create-sbom
* feat: add archive sbom.json in Jenkins build. Ref: #2900 * fix: syntax and updates debug info. be more accurate
* feat: add archive sbom.json in Jenkins build. Ref: adoptium#2900 * fix: syntax and updates debug info. be more accurate
- choose image_type: sbom Ref: adoptium/temurin-build#2900
assume the new Type is framework, not platform ? if so, it has been updated. @smlambert |
* feat: add archive sbom.json in Jenkins build. Ref: adoptium#2900 * fix: syntax and updates debug info. be more accurate
Jenkins builds currently produce a CycloneDX SBOM printed in the Console output, when a BUILD_ARG of "--create-sbom" is specified.
Extended this to actually produce the json as a Jenkins artifact by default in all builds.
The text was updated successfully, but these errors were encountered: