Skip to content

Commit b252008

Browse files
committed
Try removing unused call to sampleGitRepo.init and see if CI build passes
1 parent 05bb289 commit b252008

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/test/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStepTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@ public void scmVars() throws Exception {
180180

181181
@Test public void scmParsesChangelogFileFromFakeChangeLogSCM() {
182182
rr.then(r -> {
183-
// sampleGitRepo is not actually used in this test, but for reasons unclear to me, if you remove the call to
184-
// init, checkoutsRestored and gitChangelogSmokes fail when you run the entire test suite.
185-
sampleGitRepo.init();
186183
WorkflowJob p = r.jenkins.createProject(WorkflowJob.class, "p");
187184
p.setDefinition(new CpsFlowDefinition(
188185
"import org.jvnet.hudson.test.FakeChangeLogSCM\n" +

0 commit comments

Comments
 (0)