Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

sandbox

A collection of 1 post
Run Restricted Groovy API in Jenkins
approve

Run Restricted Groovy API in Jenkins

The more recent versions of Jenkins have improved on security. Unfortunately, a side-effect is that scripts which were running before would fail now. An example is: jenkins.model.Jenkins.getInstance().getAllItems().each { // MavenModule is superfluous project returned by getAllItems() if (!(it instanceof hudson.maven.MavenModule || it instanceof hudson.matrix.MatrixConfiguration)
Mar 16, 2018 3 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost