Skip to content

Commit

Permalink
Fix test for GitUsernamePasswordBinding in withCredentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Seros committed Apr 27, 2023
1 parent 4035213 commit 12ae8e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public void test_GenerateGitScript_write() throws Exception {
prj.getBuildWrappersList().add(new SecretBuildWrapper(Collections.<MultiBinding<?>>
singletonList(new GitUsernamePasswordBinding(gitToolInstance.getName(), credentialID))));
prj.getBuildersList().add(isWindows()
? new BatchFile(tempScriptFile.getRemote())
? new BatchFile(tempScriptFile.getRemote() + " Username")
: new Shell("sh " + tempScriptFile.getRemote()));
r.configRoundtrip((Item) prj);

Expand Down

0 comments on commit 12ae8e5

Please sign in to comment.