We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d78269 commit 9707099Copy full SHA for 9707099
src/test/java/org/jenkinsci/plugins/workflow/steps/scm/SCMStepTest.java
@@ -195,12 +195,12 @@ public void scmVars() throws Exception {
195
196
@Test public void gitChangelogSmokes() {
197
rr.then(r -> {
198
+ sampleGitRepo.init(); // GitSampleRepoRule provides default user gits@mplereporule
199
WorkflowJob p = r.jenkins.createProject(WorkflowJob.class, "p");
200
p.setDefinition(new CpsFlowDefinition(
201
"node() {\n" +
202
" git($/" + sampleGitRepo + "/$)\n" +
203
"}", true));
- sampleGitRepo.init(); // GitSampleRepoRule provides default user gits@mplereporule
204
sampleGitRepo.write("foo", "bar");
205
sampleGitRepo.git("add", "foo");
206
sampleGitRepo.git("commit", "-m", "Initial commit");
0 commit comments