Skip to content

Commit

Permalink
Update artifact engine. (#7323)
Browse files Browse the repository at this point in the history
  • Loading branch information
omeshp authored May 30, 2018
1 parent 5fd36a6 commit 9d9f03f
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Tasks/DownloadBuildArtifacts/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/DownloadBuildArtifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"dependencies": {
"vsts-task-lib": "2.1.0",
"vso-node-api": "^6.2.8-preview",
"artifact-engine": "0.1.22"
"artifact-engine": "0.1.23"
}
}
2 changes: 1 addition & 1 deletion Tasks/DownloadBuildArtifacts/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"version": {
"Major": 0,
"Minor": 136,
"Patch": 0
"Patch": 1
},
"groups": [
{
Expand Down
18 changes: 12 additions & 6 deletions Tasks/DownloadBuildArtifacts/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"version": {
"Major": 0,
"Minor": 136,
"Patch": 0
"Patch": 1
},
"groups": [
{
Expand Down Expand Up @@ -162,19 +162,25 @@
{
"endpointId": "tfs:teamfoundation",
"target": "project",
"endpointUrl": "{{endpoint.url}}/_apis/projects",
"endpointUrl": "{{endpoint.url}}/_apis/projects?$skip={{skip}}&$top=1000",
"resultSelector": "jsonpath:$.value[?(@.state=='wellFormed')]",
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }",
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
"initialContextTemplate": "{\"skip\": \"0\"}"
},
{
"endpointId": "tfs:teamfoundation",
"target": "definition",
"endpointUrl": "{{endpoint.url}}/{{project}}/_apis/build/definitions?$top=1000",
"endpointUrl": "{{endpoint.url}}/{{project}}/_apis/build/definitions?api-version=3.0-preview&$top=1000&continuationToken={{{continuationToken}}}&queryOrder=2",
"resultSelector": "jsonpath:$.value[?(@.quality=='definition')]",
"parameters": {
"project": "$(project)"
},
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }",
"callbackContextTemplate": "{\"continuationToken\" : \"{{{headers.x-ms-continuationtoken}}}\"}",
"callbackRequiredTemplate": "{{{#headers.x-ms-continuationtoken}}}true{{{/headers.x-ms-continuationtoken}}}",
"initialContextTemplate": "{\"continuationToken\" : \"{{{system.utcNow}}}\"}"
},
{
"endpointId": "tfs:teamfoundation",
Expand Down Expand Up @@ -224,4 +230,4 @@
"LatestBuildNotFound": "ms-resource:loc.messages.LatestBuildNotFound",
"LatestBuildFromBranchNotFound": "ms-resource:loc.messages.LatestBuildFromBranchNotFound"
}
}
}
6 changes: 3 additions & 3 deletions Tasks/JenkinsDownloadArtifacts/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/JenkinsDownloadArtifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "Microsoft Corporation",
"license": "MIT",
"dependencies": {
"artifact-engine": "0.1.22",
"artifact-engine": "0.1.23",
"azure-arm-rest": "file:../../_build/Tasks/Common/azure-arm-rest-1.0.2.tgz",
"azure-blobstorage-artifactProvider": "file:../../_build/Tasks/Common/azure-blobstorage-artifactProvider-1.0.0.tgz",
"decompress-zip": "0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/JenkinsDownloadArtifacts/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"demands": [],
"version": {
"Major": 1,
"Minor": 135,
"Minor": 136,
"Patch": 0
},
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/JenkinsDownloadArtifacts/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"demands": [],
"version": {
"Major": 1,
"Minor": 135,
"Minor": 136,
"Patch": 0
},
"groups": [
Expand Down

0 comments on commit 9d9f03f

Please sign in to comment.