Skip to content
Open
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
11 changes: 10 additions & 1 deletion tasks/synopsys-detect-task/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
},
{
"name": "DetectVersion",
"type": "string",
"type": "pickList",
"label": "Detect Version",
"defaultValue": "latest",
"required": true,
Expand All @@ -88,6 +88,15 @@
"visibleRule": "DetectRunMode = UseAirGap"
}
],
"dataSourceBindings": [
{
"endpointId": "synopsys-detect-versions-endpoint",
"target": "DetectVersion",
"endpointUrl": "{{endpoint.url}}/artifactory/api/storage/bds-integrations-release/com/synopsys/integration/synopsys-detect/",
"resultSelector": "jsonpath:$.children[*]",
"resultTemplate": "{ \"Value\" : \"{{{uri}}}\", \"DisplayValue\" : \"{{{uri}}}\" }"
}
],
"execution": {
"Node10": {
"target": "detect-task.js"
Expand Down
32 changes: 32 additions & 0 deletions vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,38 @@
}
]
}
},
{
"id": "synopsys-detect-versions-endpoint",
"description": "Service Endpoint for retrieving list of possible detect versions",
"type": "ms.vss-endpoint.service-endpoint-type",
"targets": [
"ms.vss-endpoint.endpoint-types"
],
"properties": {
"name": "synopsysdetectartifactory",
"displayName": "SIG Repo Artifactory",
"url": {
"displayName": "Server URL",
"value": "https://sig-repo.synopsys.com",
"helpText": "This Service Endpoint URL is always fixed"
},
"authenticationSchemes": [
{
"id": "endpoint-auth-scheme-none",
"description": "Creates an endpoint authentication scheme with no authentication.",
"type": "ms.vss-endpoint.endpoint-auth-scheme-none",
"targets": [
"ms.vss-endpoint.endpoint-auth-schemes"
],
"properties": {
"name": "None",
"displayName": "No Authentication"
}
}
]
}

}
]
}