Skip to content

Commit

Permalink
updating the scan service
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Kerwin committed Mar 24, 2017
1 parent 3c85d43 commit 4c937ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>hub-common</artifactId>
<version>8.4.0-SNAPSHOT</version>
<version>9.0.0</version>

<name>Hub Common</name>
<description>General Code for Hub Integration with CI systems</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public void createFlatOutput(final DependencyNode rootNode, final String hubProj
}

public void createHubOutput(final DependencyNode rootNode, final String projectName, final String hubCodeLocationName, final String hubProjectName,
final String hubProjectVersion,
final File outputDirectory) throws IOException {
final String hubProjectVersion, final File outputDirectory) throws IOException {
final BdioDependencyWriter bdioDependencyWriter = new BdioDependencyWriter();
bdioDependencyWriter.write(outputDirectory, projectName, hubCodeLocationName, hubProjectName, hubProjectVersion, rootNode);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ private void executeScan()
final ProcessBuilder processBuilder = new ProcessBuilder(cmd).redirectError(PIPE).redirectOutput(PIPE);

processBuilder.environment().put("BD_HUB_PASSWORD", hubServerConfig.getGlobalCredentials().getDecryptedPassword());
processBuilder.environment().put("BD_HUB_NO_PROMPT", "true");

final String bdioEnvVar = ciEnvironmentVariables.getValue("BD_HUB_DECLARED_COMPONENTS");
if (StringUtils.isNotBlank(bdioEnvVar)) {
Expand Down

0 comments on commit 4c937ff

Please sign in to comment.