Skip to content
Permalink
Browse files
JENKINS-30338: Send additional build information while exporting test…
… results
  • Loading branch information
stolp committed Sep 8, 2015
1 parent 8966bd0 commit 741f9cf06c7946663ec331a49e42089f77d7d2da
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/java/hudson/plugins/klaros/KlarosTestResultPublisher.java
@@ -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));

0 comments on commit 741f9cf

Please sign in to comment.