Skip to content

Commit

Permalink
Making test pass on Windows.
Browse files Browse the repository at this point in the history
Originally-Committed-As: 63e4194b95eb0265da351b4f48ccc67354957d8d
  • Loading branch information
jglick committed Feb 24, 2015
1 parent 28cd0d5 commit 91f70c8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ public class PwdStepTest {

@Test public void basics() throws Exception {
WorkflowJob p = r.jenkins.createProject(WorkflowJob.class, "p");
p.setDefinition(new CpsFlowDefinition("node {def cwd = pwd(); sh \"echo cwd='$cwd'\"}",true));
p.setDefinition(new CpsFlowDefinition("node {echo \"cwd=${pwd()}\"}", true));
r.assertLogContains("cwd=" + r.jenkins.getWorkspaceFor(p), r.assertBuildStatusSuccess(p.scheduleBuild2(0)));
}

Expand Down

0 comments on commit 91f70c8

Please sign in to comment.