Skip to content

Commit dbe466d

Browse files
committed
Fixing source path default.
1 parent 4a586e7 commit dbe466d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

tasks/detect-task/detect-task.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Import-Module $PSScriptRoot\lib\argument-parser.ps1
88

99
######################SETTINGS#######################
1010

11-
$TaskVersion = "1.1.0"; #Automatically Updated
11+
$TaskVersion = "1.1.1"; #Automatically Updated
1212
Write-Host ("Detect for TFS Version {0}" -f $TaskVersion)
1313

1414
#Support all TLS protocols.
@@ -62,6 +62,8 @@ Write-Host "Setting detect environment variables"
6262
$Env:DETECT_EXIT_CODE_PASSTHRU = "1" #Prevent detect from exiting the session.
6363
$Env:DETECT_JAR_PATH = $DetectFolder
6464
$Env:DETECT_LATEST_RELEASE_VERSION = $DetectVersion
65+
Write-Host "Setting detect source path to build directory"
66+
$Env:DETECT_SOURCE_PATH = $env:BUILD_SOURCESDIRECTORY
6567

6668
if ([string]::IsNullOrEmpty($Service)){
6769
Write-Host ("No service selected.");

tasks/detect-task/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": "1",
1515
"Minor": "1",
16-
"Patch": "0"
16+
"Patch": "1"
1717
},
1818
"minimumAgentVersion": "1.95.0",
1919
"instanceNameFormat": "Run Black Duck Detect for your build $(message)",

vsts-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifestVersion": 1,
33
"id": "detect-for-tfs",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"name": "Black Duck Detect",
66
"publisher": "black-duck-software",
77
"public": true,

0 commit comments

Comments
 (0)