Skip to content

Commit

Permalink
Require Jenkins 2.452.4 (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesbusy authored Dec 9, 2024
1 parent 3aec7cf commit adb0375
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<revision>1.49</revision>
<changelist>999999-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<jenkins.baseline>2.426</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<jenkins.baseline>2.452</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
<useBeta>true</useBeta>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
Expand Down Expand Up @@ -164,7 +164,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3208.vb_21177d4b_cd9</version>
<version>3790.va_b_a_2d26d2b_69</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void printContentIfNecessary(WebResponse webResponse) {
* @return the new workflow job
* @throws IOException an error when creating a new job
*/
public WorkflowJob createWorkflow(String name, String script) throws IOException {
public WorkflowJob createWorkflow(String name, String script) throws Exception {
WorkflowJob job = jenkins.createProject(WorkflowJob.class, name);
job.setDefinition(new CpsFlowDefinition("node {" + script + "}", true));
return job;
Expand Down

0 comments on commit adb0375

Please sign in to comment.