We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ae2dd commit f882304Copy full SHA for f882304
src/test/java/hudson/plugins/git/Security2478Test.java
@@ -45,7 +45,7 @@ public void checkoutShouldNotAbortWhenLocalSourceAndRunningOnAgent() throws Exce
45
sampleRepo.git("commit", "--all", "--message=test commit");
46
WorkflowJob p = r.jenkins.createProject(WorkflowJob.class, "pipeline");
47
48
- String script = "node('slave0') {\n" +
+ String script = "node {\n" +
49
" checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: '" + sampleRepo.fileUrl() + "', credentialsId: '']]])\n" +
50
"}";
51
p.setDefinition(new CpsFlowDefinition(script, true));
0 commit comments