How to use variable thresholds instead of constants in build status thresholds in job configuration?
Instead of hard coding the build status thresholds into Jenkins configuration, I want to use variable thresholds that either are read from a file or supplied as input parameters to job. Does anyone know if there is a way to do this? I tried using injected variables as thresholds in warnings plugin and did not work. -Harish -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2082dcae-d23b-4f5b-82b7-cbf72de67cbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Are there ways to set different reference build to plugin or set dynamic thresholds?
We have a master job that builds the master branch and various plugins ex.warnings plugin tracks the counts of warnings detected in master. Then we have a gerrit job that build the gerrit patches.The warnings plugin and other plugins by default compare delta against previous successful gerrit build. But we want to make compare warnings counts against the master build instead. Is there some known way to specify to use a different job as reference? I can think of following roundabout ways. 1. Execute post-build script in master job that will update the thresholds in the gerrit job config.xml and reload. 2. Set dynamic thresholds with job parameters..but will not work if plugin will not accept parameter variables as thresholds? Does someone know other or better solutions to this? -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Are-there-ways-to-set-different-reference-build-to-plugin-or-set-dynamic-thresholds-tp4879766.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1486587224954-4879766.post%40n4.nabble.com. For more options, visit https://groups.google.com/d/optout.