Last active
November 23, 2018 16:12
-
-
Save JohnLBevan/667e1686960d8c2f3f1a74882d0659e7 to your computer and use it in GitHub Desktop.
StackOverflow AzureDevOps Pipeline Question SO53449906. https://stackoverflow.com/questions/53449906/how-to-include-test-assemblies-in-a-published-artifact
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "source": 2, | |
| "revision": 4, | |
| "description": null, | |
| "createdBy": { | |
| "displayName": "JohnLBevan", | |
| "url": "https://app.vssps.visualstudio.com/A21454791-1e23-49e8-a35c-2389fa06a325/_apis/Identities/e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "_links": { | |
| "avatar": { | |
| "href": "https://myCompany.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| } | |
| }, | |
| "id": "e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "uniqueName": "myUsername@myCompany.com", | |
| "imageUrl": "https://myCompany.visualstudio.com/_api/_common/identityImage?id=e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "descriptor": "aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| }, | |
| "createdOn": "2018-11-23T15:23:14.780Z", | |
| "modifiedBy": { | |
| "displayName": "JohnLBevan", | |
| "url": "https://app.vssps.visualstudio.com/A21454791-1e23-49e8-a35c-2389fa06a325/_apis/Identities/e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "_links": { | |
| "avatar": { | |
| "href": "https://myCompany.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| } | |
| }, | |
| "id": "e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "uniqueName": "myUsername@myCompany.com", | |
| "imageUrl": "https://myCompany.visualstudio.com/_api/_common/identityImage?id=e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "descriptor": "aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| }, | |
| "modifiedOn": "2018-11-23T15:29:50.450Z", | |
| "isDeleted": false, | |
| "variables": {}, | |
| "variableGroups": [], | |
| "environments": [ | |
| { | |
| "id": 1, | |
| "name": "Validating Stage - Run Automated Tests", | |
| "rank": 1, | |
| "owner": { | |
| "displayName": "JohnLBevan", | |
| "url": "https://app.vssps.visualstudio.com/A21454791-1e23-49e8-a35c-2389fa06a325/_apis/Identities/e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "_links": { | |
| "avatar": { | |
| "href": "https://myCompany.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| } | |
| }, | |
| "id": "e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "uniqueName": "myUsername@myCompany.com", | |
| "imageUrl": "https://myCompany.visualstudio.com/_api/_common/identityImage?id=e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "descriptor": "aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| }, | |
| "variables": {}, | |
| "variableGroups": [], | |
| "preDeployApprovals": { | |
| "approvals": [ | |
| { | |
| "rank": 1, | |
| "isAutomated": true, | |
| "isNotificationOn": false, | |
| "id": 1 | |
| } | |
| ], | |
| "approvalOptions": { | |
| "requiredApproverCount": null, | |
| "releaseCreatorCanBeApprover": false, | |
| "autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped": false, | |
| "enforceIdentityRevalidation": false, | |
| "timeoutInMinutes": 0, | |
| "executionOrder": 1 | |
| } | |
| }, | |
| "deployStep": { | |
| "id": 2 | |
| }, | |
| "postDeployApprovals": { | |
| "approvals": [ | |
| { | |
| "rank": 1, | |
| "isAutomated": true, | |
| "isNotificationOn": false, | |
| "id": 3 | |
| } | |
| ], | |
| "approvalOptions": { | |
| "requiredApproverCount": null, | |
| "releaseCreatorCanBeApprover": false, | |
| "autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped": false, | |
| "enforceIdentityRevalidation": false, | |
| "timeoutInMinutes": 0, | |
| "executionOrder": 2 | |
| } | |
| }, | |
| "deployPhases": [ | |
| { | |
| "deploymentInput": { | |
| "parallelExecution": { | |
| "parallelExecutionType": 0 | |
| }, | |
| "skipArtifactsDownload": false, | |
| "artifactsDownloadInput": { | |
| "downloadInputs": [] | |
| }, | |
| "queueId": 293, | |
| "demands": [], | |
| "enableAccessToken": false, | |
| "timeoutInMinutes": 0, | |
| "jobCancelTimeoutInMinutes": 1, | |
| "condition": "succeeded()", | |
| "overrideInputs": {} | |
| }, | |
| "rank": 1, | |
| "phaseType": 1, | |
| "name": "Run on agent", | |
| "refName": null, | |
| "workflowTasks": [ | |
| { | |
| "environment": {}, | |
| "taskId": "2c65196a-54fd-4a02-9be8-d9d1837b7111", | |
| "version": "1.*", | |
| "name": "Visual Studio Test Platform Installer", | |
| "refName": "", | |
| "enabled": true, | |
| "alwaysRun": false, | |
| "continueOnError": false, | |
| "timeoutInMinutes": 0, | |
| "definitionType": "task", | |
| "overrideInputs": {}, | |
| "condition": "succeeded()", | |
| "inputs": { | |
| "packageFeedSelector": "nugetOrg", | |
| "versionSelector": "latestPreRelease", | |
| "testPlatformVersion": "", | |
| "customFeed": "", | |
| "username": "", | |
| "password": "", | |
| "netShare": "" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "taskId": "ef087383-ee5e-42c7-9a53-ab56c98420f9", | |
| "version": "2.*", | |
| "name": "Test run for Test plans", | |
| "refName": "", | |
| "enabled": true, | |
| "alwaysRun": false, | |
| "continueOnError": true, | |
| "timeoutInMinutes": 0, | |
| "definitionType": "task", | |
| "overrideInputs": {}, | |
| "condition": "succeeded()", | |
| "inputs": { | |
| "testSelector": "testRun", | |
| "testAssemblyVer2": "**\\*test*.dll\n!**\\obj\\**", | |
| "testPlan": "1", | |
| "testSuite": "", | |
| "testConfiguration": "1", | |
| "tcmTestRun": "$(test.RunId)", | |
| "searchFolder": "$(System.DefaultWorkingDirectory)", | |
| "testFiltercriteria": "", | |
| "runOnlyImpactedTests": "false", | |
| "runAllTestsAfterXBuilds": "50", | |
| "uiTests": "false", | |
| "vstestLocationMethod": "version", | |
| "vsTestVersion": "15.0", | |
| "vstestLocation": "", | |
| "runSettingsFile": "", | |
| "overrideTestrunParameters": "", | |
| "pathtoCustomTestAdapters": "", | |
| "runInParallel": "false", | |
| "runTestsInIsolation": "false", | |
| "codeCoverageEnabled": "false", | |
| "otherConsoleOptions": "", | |
| "distributionBatchType": "basedOnTestCases", | |
| "batchingBasedOnAgentsOption": "autoBatchSize", | |
| "customBatchSizeValue": "10", | |
| "batchingBasedOnExecutionTimeOption": "autoBatchSize", | |
| "customRunTimePerBatchValue": "60", | |
| "dontDistribute": "False", | |
| "testRunTitle": "", | |
| "platform": "", | |
| "configuration": "", | |
| "publishRunAttachments": "true", | |
| "diagnosticsEnabled": "True", | |
| "collectDumpOn": "onAbortOnly", | |
| "rerunFailedTests": "False", | |
| "rerunType": "basedOnTestFailurePercentage", | |
| "rerunFailedThreshold": "30", | |
| "rerunFailedTestCasesMaxLimit": "5", | |
| "rerunMaxAttempts": "3" | |
| } | |
| } | |
| ] | |
| } | |
| ], | |
| "environmentOptions": { | |
| "emailNotificationType": "OnlyOnFailure", | |
| "emailRecipients": "release.environment.owner;release.creator", | |
| "skipArtifactsDownload": false, | |
| "timeoutInMinutes": 0, | |
| "enableAccessToken": false, | |
| "publishDeploymentStatus": true, | |
| "badgeEnabled": false, | |
| "autoLinkWorkItems": false, | |
| "pullRequestDeploymentEnabled": false | |
| }, | |
| "demands": [], | |
| "conditions": [], | |
| "executionPolicy": { | |
| "concurrencyCount": 1, | |
| "queueDepthCount": 0 | |
| }, | |
| "schedules": [], | |
| "currentRelease": { | |
| "id": 3, | |
| "url": "https://myCompany.vsrm.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_apis/Release/releases/3", | |
| "_links": {} | |
| }, | |
| "retentionPolicy": { | |
| "daysToKeep": 30, | |
| "releasesToKeep": 3, | |
| "retainBuild": true | |
| }, | |
| "processParameters": {}, | |
| "properties": { | |
| "OnDemandTestingTemplateId": { | |
| "$type": "System.String", | |
| "$value": "d71806bb-e40f-4b12-87da-ad76f3edea34" | |
| } | |
| }, | |
| "preDeploymentGates": { | |
| "id": 0, | |
| "gatesOptions": null, | |
| "gates": [] | |
| }, | |
| "postDeploymentGates": { | |
| "id": 0, | |
| "gatesOptions": null, | |
| "gates": [] | |
| }, | |
| "environmentTriggers": [], | |
| "badgeUrl": "https://myCompany.vsrm.visualstudio.com/_apis/public/Release/badge/47dff790-ec96-4852-a432-7dbbc13e8670/1/1" | |
| } | |
| ], | |
| "artifacts": [ | |
| { | |
| "sourceId": "47dff790-ec96-4852-a432-7dbbc13e8670:21", | |
| "type": "Build", | |
| "alias": "_Test Sandbox-ASP.NET Core (.NET Framework)-CI", | |
| "definitionReference": { | |
| "artifactSourceDefinitionUrl": { | |
| "id": "https://myCompany.visualstudio.com/_permalink/_build/index?collectionId=8f6b6bd7-0c51-45ed-a12f-60e3f3be8fb2&projectId=47dff790-ec96-4852-a432-7dbbc13e8670&definitionId=21", | |
| "name": "" | |
| }, | |
| "defaultVersionBranch": { | |
| "id": "", | |
| "name": "" | |
| }, | |
| "defaultVersionSpecific": { | |
| "id": "", | |
| "name": "" | |
| }, | |
| "defaultVersionTags": { | |
| "id": "", | |
| "name": "" | |
| }, | |
| "defaultVersionType": { | |
| "id": "latestType", | |
| "name": "Latest" | |
| }, | |
| "definition": { | |
| "id": "21", | |
| "name": "Test Sandbox-ASP.NET Core (.NET Framework)-CI" | |
| }, | |
| "definitions": { | |
| "id": "", | |
| "name": "" | |
| }, | |
| "IsMultiDefinitionType": { | |
| "id": "False", | |
| "name": "False" | |
| }, | |
| "project": { | |
| "id": "47dff790-ec96-4852-a432-7dbbc13e8670", | |
| "name": "Test Sandbox" | |
| }, | |
| "repository": { | |
| "id": "3d8c4b5e-047b-4d44-ac36-bd91b117b037", | |
| "name": "Test Sandbox" | |
| } | |
| }, | |
| "isPrimary": true, | |
| "isRetained": false | |
| } | |
| ], | |
| "triggers": [], | |
| "releaseNameFormat": "Release-$(rev:r)", | |
| "tags": [], | |
| "properties": { | |
| "DefinitionCreationSource": { | |
| "$type": "System.String", | |
| "$value": "Other" | |
| } | |
| }, | |
| "id": 1, | |
| "name": "Pipeline For Automated Tests Only / Linked to Test Plan #7", | |
| "path": "\\", | |
| "projectReference": null, | |
| "url": "https://myCompany.vsrm.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_apis/Release/definitions/1", | |
| "_links": { | |
| "self": { | |
| "href": "https://myCompany.vsrm.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_apis/Release/definitions/1" | |
| }, | |
| "web": { | |
| "href": "https://myCompany.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_release?definitionId=1" | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "options": [ | |
| { | |
| "enabled": true, | |
| "definition": { | |
| "id": "5d58cc01-7c75-450c-be18-a388ddb129ec" | |
| }, | |
| "inputs": { | |
| "branchFilters": "[\"+refs/heads/*\"]", | |
| "additionalFields": "{}" | |
| } | |
| }, | |
| { | |
| "enabled": false, | |
| "definition": { | |
| "id": "a9db38f9-9fdc-478c-b0f9-464221e58316" | |
| }, | |
| "inputs": { | |
| "workItemType": "Task", | |
| "assignToRequestor": "true", | |
| "additionalFields": "{}" | |
| } | |
| } | |
| ], | |
| "variables": { | |
| "BuildConfiguration": { | |
| "value": "release", | |
| "allowOverride": true | |
| }, | |
| "BuildPlatform": { | |
| "value": "any cpu", | |
| "allowOverride": true | |
| }, | |
| "system.debug": { | |
| "value": "false", | |
| "allowOverride": true | |
| } | |
| }, | |
| "retentionRules": [ | |
| { | |
| "branches": [ | |
| "+refs/heads/*" | |
| ], | |
| "artifacts": [], | |
| "artifactTypesToDelete": [ | |
| "FilePath", | |
| "SymbolStore" | |
| ], | |
| "daysToKeep": 10, | |
| "minimumToKeep": 1, | |
| "deleteBuildRecord": true, | |
| "deleteTestResults": true | |
| } | |
| ], | |
| "properties": {}, | |
| "tags": [], | |
| "_links": { | |
| "self": { | |
| "href": "https://myCompany.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_apis/build/Definitions/21?revision=7" | |
| }, | |
| "web": { | |
| "href": "https://myCompany.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_build/definition?definitionId=21" | |
| }, | |
| "editor": { | |
| "href": "https://myCompany.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_build/designer?id=21&_a=edit-build-definition" | |
| }, | |
| "badge": { | |
| "href": "https://myCompany.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_apis/build/status/21" | |
| } | |
| }, | |
| "buildNumberFormat": "$(date:yyyyMMdd)$(rev:.r)", | |
| "jobAuthorizationScope": 1, | |
| "jobTimeoutInMinutes": 60, | |
| "jobCancelTimeoutInMinutes": 5, | |
| "process": { | |
| "phases": [ | |
| { | |
| "steps": [ | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "Use NuGet 4.4.1", | |
| "timeoutInMinutes": 0, | |
| "task": { | |
| "id": "2c65196a-54fd-4a02-9be8-d9d1837b7c5d", | |
| "versionSpec": "0.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "versionSpec": "4.4.1", | |
| "checkLatest": "false" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "NuGet restore", | |
| "timeoutInMinutes": 0, | |
| "task": { | |
| "id": "333b11bd-d341-40d9-afcf-b32d5ce6f23b", | |
| "versionSpec": "2.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "command": "restore", | |
| "solution": "$(Parameters.solution)", | |
| "selectOrConfig": "select", | |
| "feedRestore": "", | |
| "includeNuGetOrg": "true", | |
| "nugetConfigPath": "", | |
| "externalEndpoints": "", | |
| "noCache": "false", | |
| "disableParallelProcessing": "false", | |
| "packagesDirectory": "", | |
| "verbosityRestore": "Detailed", | |
| "searchPatternPush": "$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg", | |
| "nuGetFeedType": "internal", | |
| "feedPublish": "", | |
| "allowPackageConflicts": "false", | |
| "externalEndpoint": "", | |
| "verbosityPush": "Detailed", | |
| "searchPatternPack": "**/*.csproj", | |
| "configurationToPack": "$(BuildConfiguration)", | |
| "outputDir": "$(Build.ArtifactStagingDirectory)", | |
| "versioningScheme": "off", | |
| "includeReferencedProjects": "false", | |
| "versionEnvVar": "", | |
| "requestedMajorVersion": "1", | |
| "requestedMinorVersion": "0", | |
| "requestedPatchVersion": "0", | |
| "packTimezone": "utc", | |
| "includeSymbols": "false", | |
| "toolPackage": "false", | |
| "buildProperties": "", | |
| "basePath": "", | |
| "verbosityPack": "Detailed", | |
| "arguments": "" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "Build solution", | |
| "timeoutInMinutes": 0, | |
| "task": { | |
| "id": "71a9a2d3-a98a-4caa-96ab-affca411ecda", | |
| "versionSpec": "1.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "solution": "$(Parameters.solution)", | |
| "vsVersion": "latest", | |
| "msbuildArgs": "/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation=\"$(build.artifactstagingdirectory)\\WebApp.zip\" /p:DeployIisAppPath=\"Default Web Site\"", | |
| "platform": "$(BuildPlatform)", | |
| "configuration": "$(BuildConfiguration)", | |
| "clean": "false", | |
| "maximumCpuCount": "false", | |
| "restoreNugetPackages": "false", | |
| "msbuildArchitecture": "x86", | |
| "logProjectEvents": "true", | |
| "createLogFile": "false" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "Visual Studio Test Platform Installer", | |
| "timeoutInMinutes": 0, | |
| "condition": "succeeded()", | |
| "task": { | |
| "id": "2c65196a-54fd-4a02-9be8-d9d1837b7111", | |
| "versionSpec": "1.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "packageFeedSelector": "nugetOrg", | |
| "versionSelector": "latestStable", | |
| "testPlatformVersion": "", | |
| "customFeed": "", | |
| "username": "", | |
| "password": "", | |
| "netShare": "" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "Test Assemblies", | |
| "timeoutInMinutes": 0, | |
| "task": { | |
| "id": "ef087383-ee5e-42c7-9a53-ab56c98420f9", | |
| "versionSpec": "2.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "testSelector": "testAssemblies", | |
| "testAssemblyVer2": "**\\$(BuildConfiguration)\\*\\*test*.dll\n!**\\obj\\**", | |
| "testPlan": "", | |
| "testSuite": "", | |
| "testConfiguration": "", | |
| "tcmTestRun": "$(test.RunId)", | |
| "searchFolder": "$(System.DefaultWorkingDirectory)", | |
| "testFiltercriteria": "", | |
| "runOnlyImpactedTests": "False", | |
| "runAllTestsAfterXBuilds": "50", | |
| "uiTests": "false", | |
| "vstestLocationMethod": "version", | |
| "vsTestVersion": "toolsInstaller", | |
| "vstestLocation": "", | |
| "runSettingsFile": "", | |
| "overrideTestrunParameters": "", | |
| "pathtoCustomTestAdapters": "", | |
| "runInParallel": "False", | |
| "runTestsInIsolation": "False", | |
| "codeCoverageEnabled": "False", | |
| "otherConsoleOptions": "", | |
| "distributionBatchType": "basedOnTestCases", | |
| "batchingBasedOnAgentsOption": "autoBatchSize", | |
| "customBatchSizeValue": "10", | |
| "batchingBasedOnExecutionTimeOption": "autoBatchSize", | |
| "customRunTimePerBatchValue": "60", | |
| "dontDistribute": "False", | |
| "testRunTitle": "", | |
| "platform": "$(BuildPlatform)", | |
| "configuration": "$(BuildConfiguration)", | |
| "publishRunAttachments": "true", | |
| "diagnosticsEnabled": "True", | |
| "collectDumpOn": "onAbortOnly", | |
| "rerunFailedTests": "False", | |
| "rerunType": "basedOnTestFailurePercentage", | |
| "rerunFailedThreshold": "30", | |
| "rerunFailedTestCasesMaxLimit": "5", | |
| "rerunMaxAttempts": "3" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": true, | |
| "alwaysRun": false, | |
| "displayName": "Publish symbols path", | |
| "timeoutInMinutes": 0, | |
| "task": { | |
| "id": "0675668a-7bba-4ccb-901d-5ad6554ca653", | |
| "versionSpec": "2.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "SymbolsFolder": "$(Build.SourcesDirectory)", | |
| "SearchPattern": "**\\bin\\**\\*.pdb", | |
| "IndexSources": "true", | |
| "PublishSymbols": "false", | |
| "SymbolServerType": "TeamServices", | |
| "SymbolsPath": "", | |
| "CompressSymbols": "false", | |
| "DetailedLog": "true", | |
| "TreatNotIndexedAsWarning": "false", | |
| "SymbolsMaximumWaitTime": "", | |
| "SymbolsProduct": "", | |
| "SymbolsVersion": "", | |
| "SymbolsArtifactName": "Symbols_$(BuildConfiguration)" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "Publish Artifact", | |
| "timeoutInMinutes": 0, | |
| "task": { | |
| "id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe", | |
| "versionSpec": "1.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "PathtoPublish": "$(build.artifactstagingdirectory)", | |
| "ArtifactName": "$(Parameters.ArtifactName)", | |
| "ArtifactType": "Container", | |
| "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)", | |
| "Parallel": "false", | |
| "ParallelCount": "8" | |
| } | |
| }, | |
| { | |
| "environment": {}, | |
| "enabled": true, | |
| "continueOnError": false, | |
| "alwaysRun": false, | |
| "displayName": "Publish Artifact: all binaries (for testing)", | |
| "timeoutInMinutes": 0, | |
| "condition": "succeeded()", | |
| "task": { | |
| "id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe", | |
| "versionSpec": "1.*", | |
| "definitionType": "task" | |
| }, | |
| "inputs": { | |
| "PathtoPublish": "$(Build.BinariesDirectory)", | |
| "ArtifactName": "test", | |
| "ArtifactType": "Container", | |
| "TargetPath": "", | |
| "Parallel": "false", | |
| "ParallelCount": "8" | |
| } | |
| } | |
| ], | |
| "name": "Agent job 1", | |
| "refName": "Phase_1", | |
| "condition": "succeeded()", | |
| "target": { | |
| "executionOptions": { | |
| "type": 0 | |
| }, | |
| "allowScriptsAuthAccessOption": false, | |
| "type": 1 | |
| }, | |
| "jobAuthorizationScope": 1, | |
| "jobCancelTimeoutInMinutes": 1 | |
| } | |
| ], | |
| "type": 1 | |
| }, | |
| "repository": { | |
| "properties": { | |
| "cleanOptions": "0", | |
| "labelSources": "0", | |
| "labelSourcesFormat": "$(build.buildNumber)", | |
| "reportBuildStatus": "true", | |
| "gitLfsSupport": "false", | |
| "skipSyncSource": "false", | |
| "checkoutNestedSubmodules": "false", | |
| "fetchDepth": "0" | |
| }, | |
| "id": "3d8c4b5e-047b-4d44-ac36-bd91b117b037", | |
| "type": "TfsGit", | |
| "name": "Test Sandbox", | |
| "url": "https://myCompany.visualstudio.com/Test%20Sandbox/_git/Test%20Sandbox", | |
| "defaultBranch": "refs/heads/master", | |
| "clean": "false", | |
| "checkoutSubmodules": false | |
| }, | |
| "processParameters": { | |
| "inputs": [ | |
| { | |
| "aliases": [], | |
| "options": {}, | |
| "properties": {}, | |
| "name": "solution", | |
| "label": "Path to solution or packages.config", | |
| "defaultValue": "**\\*.sln", | |
| "required": true, | |
| "type": "filePath", | |
| "helpMarkDown": "The path to the Visual Studio solution file or NuGet packages.config", | |
| "visibleRule": "", | |
| "groupName": "" | |
| }, | |
| { | |
| "aliases": [], | |
| "options": {}, | |
| "properties": {}, | |
| "name": "ArtifactName", | |
| "label": "Artifact Name", | |
| "defaultValue": "drop", | |
| "required": true, | |
| "type": "string", | |
| "helpMarkDown": "The name of the artifact to create.", | |
| "visibleRule": "", | |
| "groupName": "" | |
| } | |
| ] | |
| }, | |
| "quality": 1, | |
| "authoredBy": { | |
| "displayName": "JohnLBevan", | |
| "url": "https://app.vssps.visualstudio.com/A21454791-1e23-49e8-a35c-2389fa06a325/_apis/Identities/e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "_links": { | |
| "avatar": { | |
| "href": "https://myCompany.visualstudio.com/_apis/GraphProfile/MemberAvatars/aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| } | |
| }, | |
| "id": "e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "uniqueName": "myUsername@myCompany.com", | |
| "imageUrl": "https://myCompany.visualstudio.com/_api/_common/identityImage?id=e2a7ca55-8633-4c52-9d34-8fb1a6f00aef", | |
| "descriptor": "aad.MGQxMzkxMjItNjNjNy03MmViLWI3Y2QtM2EwMmRhZWEwYjc4" | |
| }, | |
| "drafts": [], | |
| "queue": { | |
| "_links": { | |
| "self": { | |
| "href": "https://myCompany.visualstudio.com/_apis/build/Queues/293" | |
| } | |
| }, | |
| "id": 293, | |
| "name": "Hosted VS2017", | |
| "url": "https://myCompany.visualstudio.com/_apis/build/Queues/293", | |
| "pool": { | |
| "id": 4, | |
| "name": "Hosted VS2017", | |
| "isHosted": true | |
| } | |
| }, | |
| "id": 21, | |
| "name": "Test Sandbox-ASP.NET Core (.NET Framework)-CI", | |
| "url": "https://myCompany.visualstudio.com/47dff790-ec96-4852-a432-7dbbc13e8670/_apis/build/Definitions/21?revision=7", | |
| "uri": "vstfs:///Build/Definition/21", | |
| "path": "\\", | |
| "type": 2, | |
| "queueStatus": 0, | |
| "revision": 7, | |
| "createdDate": "2018-11-23T15:42:39.547Z", | |
| "project": { | |
| "id": "47dff790-ec96-4852-a432-7dbbc13e8670", | |
| "name": "Test Sandbox", | |
| "description": "A sandbox project to allow people to experiment with the Azure DevOps test features. \nDO NOT PLACE PRODUCTION CONTENT HERE / THIS PROJECT IS VOLATILE.", | |
| "url": "https://myCompany.visualstudio.com/_apis/projects/47dff790-ec96-4852-a432-7dbbc13e8670", | |
| "state": 1, | |
| "revision": 618, | |
| "visibility": 0, | |
| "defaultTeamImageUrl": null | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment