Skip to content

Commit 09f6712

Browse files
committed
Version change in vstest and pagination in projects data source in download build artifacts
1 parent 9f93459 commit 09f6712

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Tasks/DownloadBuildArtifacts/task.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,12 @@
162162
{
163163
"endpointId": "tfs:teamfoundation",
164164
"target": "project",
165-
"endpointUrl": "{{endpoint.url}}/_apis/projects",
165+
"endpointUrl": "{{endpoint.url}}/_apis/projects?$skip={{skip}}&$top=1000",
166166
"resultSelector": "jsonpath:$.value[?(@.state=='wellFormed')]",
167-
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
167+
"resultTemplate": "{ \"Value\" : \"{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }",
168+
"callbackContextTemplate": "{\"skip\": \"{{add skip 1000}}\"}",
169+
"callbackRequiredTemplate": "{{isEqualNumber result.count 1000}}",
170+
"initialContextTemplate": "{\"skip\": \"0\"}"
168171
},
169172
{
170173
"endpointId": "tfs:teamfoundation",

Tasks/VsTest/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 2,
19-
"Minor": 135,
20-
"Patch": 4
19+
"Minor": 136,
20+
"Patch": 0
2121
},
2222
"demands": [
2323
"vstest"

Tasks/VsTest/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 2,
19-
"Minor": 135,
20-
"Patch": 4
19+
"Minor": 136,
20+
"Patch": 0
2121
},
2222
"demands": [
2323
"vstest"

0 commit comments

Comments
 (0)