Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit b0de59d

Browse files
authored
test: use a different port (#523)
1 parent 61966c7 commit b0de59d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/groovy/GenerateBuildDataIntegrationTests.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ import static org.junit.Assert.assertTrue
4444
class GenerateBuildDataIntegrationTests {
4545

4646
@Rule
47-
public WireMockRule wireMockRule = new WireMockRule(18080)
47+
public WireMockRule wireMockRule = new WireMockRule(18081)
4848

49-
private final String URL = "http://localhost:18080/blue/rest/organizations/jenkins/pipelines/it/getBuildInfoJsonFiles"
49+
private final String URL = "http://localhost:18081/blue/rest/organizations/jenkins/pipelines/it/getBuildInfoJsonFiles"
5050

5151
@Test
5252
public void abortBuild() {
@@ -187,7 +187,7 @@ class GenerateBuildDataIntegrationTests {
187187

188188
ProcessBuilder pb = new ProcessBuilder(commands)
189189
Map<String, String> env = pb.environment()
190-
env.put('JENKINS_URL', 'http://localhost:18080/')
190+
env.put('JENKINS_URL', 'http://localhost:18081/')
191191
env.put('PIPELINE_LOG_LEVEL', 'INFO')
192192
pb.directory(new File("target"))
193193
pb.redirectErrorStream(true)

0 commit comments

Comments
 (0)