Skip to content

Commit

Permalink
Update Plugin to use Detect 9 (#70)
Browse files Browse the repository at this point in the history
* Update Plugin to use Detect 9

* Update version in package.json
  • Loading branch information
devmehtasynopsys authored Sep 20, 2023
1 parent bb70fc8 commit b9d10d8
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 35 deletions.
40 changes: 20 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "detect-ado",
"version": "8.1.0",
"version": "9.0.0",
"description": "Execute Synopsys Detect against your build",
"scripts": {
"package": "tfx extension create --manifest-globs vss-extension.json",
Expand Down
16 changes: 8 additions & 8 deletions tasks/synopsys-detect-task/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tasks/synopsys-detect-task/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "detect-ado",
"version": "8.1.0",
"version": "9.0.0",
"description": "Execute Synopsys Detect against your build",
"scripts": {
"build": "tsc -p .",
Expand Down
4 changes: 2 additions & 2 deletions tasks/synopsys-detect-task/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"demands": [],
"version": {
"Major": 8,
"Minor": 1,
"Major": 9,
"Minor": 0,
"Patch": 0
},
"minimumAgentVersion": "1.95.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import {IDefaultScriptConfiguration} from '../model/IDefaultScriptConfiguration'
const osPlat: string = os.platform()

export class DetectScriptConfigurationRunner extends DetectRunner {
static readonly DETECT_SH_SCRIPT_NAME = 'detect8.sh'
static readonly DETECT_PS_SCRIPT_NAME = 'detect8.ps1'
static readonly DETECT_SH_SCRIPT_NAME = 'detect9.sh'
static readonly DETECT_PS_SCRIPT_NAME = 'detect9.ps1'

readonly BASH_SCRIPT: IDetectRunnerConfiguration = {
fileName: DetectScriptConfigurationRunner.DETECT_SH_SCRIPT_NAME,
Expand Down Expand Up @@ -63,6 +63,7 @@ export class DetectScriptConfigurationRunner extends DetectRunner {
} catch (error) {
logger.error(`Unable to connect with ${DetectScriptDownloader.DETECT_DOWNLOAD_URL}`)
logger.error('This may be a problem with your proxy setup or network.')
throw new Error('This may be a problem with your proxy setup or network.')
}

return scriptFolder
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifestVersion": 1,
"id": "synopsys-detect-qa",
"version": "8.1.0",
"version": "9.0.0",
"name": "Synopsys Detect QA",
"publisher": "synopsys-detect",
"public": false,
Expand Down

0 comments on commit b9d10d8

Please sign in to comment.