cmakebuilder-plugin icon indicating copy to clipboard operation
cmakebuilder-plugin copied to clipboard

Update Jenkins Security Scan action

Open strangelookingnerd opened this issue 1 year ago • 1 comments

In order to unify the actions configuration this PR will

  • [x] Removes the hard-coded java-version in order to rely on the default
  • [ ] Adds a java-cache configuration to speed-up the actions buld time
  • [ ] Adds permissions allowing the action to create security issues
  • [ ] Removes non-existant target branches

Please note this PR was created semi-automatically. If you find any issue with it, don't hesitate to ping me. See discussion in https://github.com/jenkinsci/asm-api-plugin/pull/36

Testing done

Awaiting run of the action to verify the changes...

Submitter checklist

  • [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [x] Ensure that the pull request title represents the desired changelog entry
  • [x] Please describe what you did
  • [ ] Link to relevant issues in GitHub or Jira
  • [x] Link to relevant pull requests, esp. upstream and downstream changes
  • [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

strangelookingnerd avatar Aug 08 '24 13:08 strangelookingnerd

Error: 8-08 14:02:51] [autobuild] [ERROR] Failed to execute goal com.cloudbees:maven-license-plugin:1.8:process (default) on project cmakebuilder: Execution default of goal com.cloudbees:maven-license-plugin:1.8:process failed: An API incompatibility was encountered while executing com.cloudbees:maven-license-plugin:1.8:process: java.lang.ExceptionInInitializerError: null

It seems like this plugin can not be compiled with the default Java version of the scan. Future updates to the plugin may resolve the issue.

strangelookingnerd avatar Aug 08 '24 14:08 strangelookingnerd

@15knots Kindly requesting a review.

strangelookingnerd avatar Jun 12 '25 11:06 strangelookingnerd

I see Error: 6-12 11:27:41] [autobuild] [ERROR] -----------------------------------------------------: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base does not "opens java.lang" to unnamed module @608514cd now.

15knots avatar Jun 12 '25 15:06 15knots