How do i set a property for a plugin?

I’d like to increase the size of the Stage View from 10 jobs to 20.
The Stage View plugin tells me that I can set this property to do so:
com.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob
The problem is that I don’t have the faintest idea of WHERE that property should be set. In some file? In the environment? Does it have to be on the command line?
Note that Jenkins is running as a service in a Ubuntu environment.

The command line that starts Jenkins need to have that property added as:

-Dcom.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob=20

See the JENKINS_OPTS entry in the " Overriding service configurations" segment of the “Managing systemd services” page at:

Thanks, that helped a lot!
Though I ended up putting the value in the “JAVA_OPTS”, as putting it in “JENKINS_OPTS” didn’t seem to work.

1 Like