File tree 2 files changed +7
-7
lines changed
src/test/java/org/jenkinsci/plugins/workflow/steps/durable_task
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 66
66
</pluginRepositories >
67
67
<properties >
68
68
<changelist >999999-SNAPSHOT</changelist >
69
- <jenkins .version>2.387.3</ jenkins .version >
70
- <!-- TODO until in plugin-pom -- >
71
- <jenkins-test-harness .version>2042.v787a_641a_9b_26 </jenkins-test-harness .version>
69
+ <!-- TODO Until in plugin-pom -- >
70
+ <jenkins-test-harness .version>2182.v0138ccb_c0b_cb_</ jenkins-test-harness .version >
71
+ <jenkins .version>2.440.1 </jenkins .version>
72
72
<useBeta >true</useBeta >
73
73
<gitHubRepo >jenkinsci/${project.artifactId}-plugin</gitHubRepo >
74
74
<hpi .compatibleSinceVersion>2.40</hpi .compatibleSinceVersion>
77
77
<dependencies >
78
78
<dependency >
79
79
<groupId >io.jenkins.tools.bom</groupId >
80
- <artifactId >bom-2.387 .x</artifactId >
81
- <version >2378.v3e03930028f2 </version >
80
+ <artifactId >bom-2.440 .x</artifactId >
81
+ <version >2907.vcb_35d6f2f7de </version >
82
82
<scope >import</scope >
83
83
<type >pom</type >
84
84
</dependency >
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ private static void scriptExitingAcrossRestart1(JenkinsRule r) throws Throwable
109
109
var p = r .createProject (WorkflowJob .class , "p" );
110
110
var f = new File (r .jenkins .getRootDir (), "f" );
111
111
p .addProperty (new ParametersDefinitionProperty (new StringParameterDefinition ("F" )));
112
- p .setDefinition (new CpsFlowDefinition ("node('remote') {if (isUnix()) {sh 'sleep 5 && touch \" $F\" '} else {bat 'ping -n 5 localhost && copy nul \" %F%\" && dir \" %F%\" '}}" , true ));
112
+ p .setDefinition (new CpsFlowDefinition ("node('remote') {if (isUnix()) {sh 'sleep 5 && touch \" $F\" '} else {bat 'ping -n 5 " + r . getURL (). getHost () + " && copy nul \" %F%\" && dir \" %F%\" '}}" , true ));
113
113
var b = p .scheduleBuild2 (0 , new ParametersAction (new StringParameterValue ("F" , f .getAbsolutePath ()))).waitForStart ();
114
- r .waitForMessage (Functions .isWindows () ? ">ping -n 5 localhost" : "+ sleep 5" , b );
114
+ r .waitForMessage (Functions .isWindows () ? ">ping -n 5 " + r . getURL (). getHost () : "+ sleep 5" , b );
115
115
r .jenkins .doQuietDown (true , 0 , null );
116
116
}
117
117
You can’t perform that action at this time.
0 commit comments