Skip to content
Browse files
[JENKINS-50790] Fix GitPluginTest#create_tag_for_build
The docker container where the ATH is run doe snot provide a global git
user or mail, so I added the Custom Name and Mail option to the test so
it can properly tag things
  • Loading branch information
raul-arabaolaza committed Apr 17, 2018
1 parent 012364d commit 81589c3da0b5788917dfc2faaaec78b89c4edf27
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/test/java/plugins/
@@ -249,12 +249,11 @@ public void clean_before_checkout() {
public void create_tag_for_build() {
GitRepo repo = buildGitRepo();
repo.transferToDockerContainer(host, port);

.customNameAndMail("fake", "")

job.addShellStep("git tag -n1");;
Build b = job.startBuild();

0 comments on commit 81589c3

Please sign in to comment.