Navigation Menu

Skip to content

Commit

Permalink
JENKINS-30338: Send additional build information while exporting test…
Browse files Browse the repository at this point in the history
… results
  • Loading branch information
stolp committed Sep 8, 2015
1 parent 8966bd0 commit 741f9cf
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -587,6 +587,10 @@ public List<Integer> invoke(final File baseDir, final VirtualChannel channel) th
query.append("&createTestSuiteResults=true");
}

query.append("&buildServerUrl=").append(Hudson.getInstance().getRootUrl());
query.append("&buildJobId=").append(build.getProject().getName());
query.append("&buildId=").append(build.getNumber());

if (StringUtils.isNotBlank(username)) {
query.append("&username=").append(expandVariables(username, build)).append(
"&password=").append(expandVariables(password, build));
Expand Down

0 comments on commit 741f9cf

Please sign in to comment.