Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ dependencies {

implementation 'com.blackducksoftware.bdio:bdio-protobuf:3.2.12'
implementation "com.blackduck.integration:blackduck-common:${blackDuckCommonVersion}"
implementation 'com.blackduck.integration:blackduck-upload-common:4.1.2'
implementation 'com.blackduck.integration:blackduck-upload-common:4.1.4'
implementation 'com.blackducksoftware:method-analyzer-core:1.0.1'
implementation "${locatorGroup}:${locatorModule}:2.1.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void runScassScan(Optional<File> scanFileOptional, ScanCreationResponse s
throw new IntegrationException("Scan creation response is not provided.");
}

ScassUploader scaasScanUploader = createScaasScanUploader();
ScassUploader scaasScanUploader = createScaasScanUploaderWithProxyInfo();

// Don't upload a file larger than SCASS's capability indicates
validateGcpSize(scanFileOptional, scanCreationResponse);
Expand Down Expand Up @@ -79,11 +79,11 @@ private void validateGcpSize(Optional<File> scanFile, ScanCreationResponse scanC
}
}
}
private ScassUploader createScaasScanUploader() throws IntegrationException {

private ScassUploader createScaasScanUploaderWithProxyInfo() throws IntegrationException {
UploaderFactory uploadFactory = UploaderHelper.getUploaderFactory(blackDuckRunData);
return uploadFactory.createScassUploader();

return uploadFactory.createScassUploaderWithProxyInfo();
}

private Response notifyUploadComplete(String scanId) throws IntegrationException {
Expand Down