Branch: refs/heads/master Home: https://github.com/jenkinsci/pipeline-stage-view-plugin Commit: c8472435fcb8cba888c1e432b698ec285086de1a https://github.com/jenkinsci/pipeline-stage-view-plugin/commit/c8472435fcb8cba888c1e432b698ec285086de1a Author: Gergely Nagy <n...@users.noreply.github.com> Date: 2020-10-11 (Sun, 11 Oct 2020)
Changed paths: M rest-api/src/main/java/com/cloudbees/workflow/rest/external/JobExt.java M rest-api/src/test/java/com/cloudbees/workflow/rest/endpoints/JobAndRunAPITest.java Log Message: ----------- Fix counting maxRunsPerJob (#108) JobExt.create() used to return maxRunsPerJob + 1 runs instead of maxRunsPerJob. Moving the check before the addition makes it work if "0" is set as well. The property is queried when calling JobExt.create() for easier testing. -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/pipeline-stage-view-plugin/push/refs/heads/master/7c2c96-c84724%40github.com.