{ "build": [ { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "git clone", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Git)", "arguments": "clone $(GitUrl) $(SourceFolder)", "workingFolder": "", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "git checkout", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Git)", "arguments": "checkout $(SourceVersion)", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Run $(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/clean.sh", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/clean.sh", "arguments": "-all", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Build native", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-native.sh", "arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Build managed", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-managed.sh", "arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Build tests", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-tests.sh", "arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Build packages", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-packages.sh", "arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": false, "displayName": "Publish packages", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/publish-packages.sh", "arguments": "-AzureAccount $(CloudDropAccountName) -AzureToken $(CloudDropAccessToken) -Container $(Label)", "workingFolder": "$(Build.SourcesDirectory)/$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": false, "alwaysRun": true, "displayName": "Copy Publish Artifact: BuildLogs", "timeoutInMinutes": 0, "task": { "id": "1d341bb0-2106-458c-8422-d00bcea6512a", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "CopyRoot": "", "Contents": "*.log\n$(SourceFolder)/bin/Logs/*.*\n**/*.log", "ArtifactName": "BuildLogs", "ArtifactType": "Container", "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)" } }, { "enabled": true, "continueOnError": true, "alwaysRun": false, "displayName": "Compress the bin directory", "timeoutInMinutes": 0, "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "filename": "tar", "arguments": "-zcvf bin.tar.gz bin", "workingFolder": "$(SourceFolder)", "failOnStandardError": "false" } }, { "enabled": true, "continueOnError": true, "alwaysRun": false, "displayName": "Copy Publish Artifact: bin", "timeoutInMinutes": 0, "task": { "id": "1d341bb0-2106-458c-8422-d00bcea6512a", "versionSpec": "1.*", "definitionType": "task" }, "inputs": { "CopyRoot": "", "Contents": "$(SourceFolder)/bin.tar.gz", "ArtifactName": "bin", "ArtifactType": "Container", "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)" } } ], "options": [ { "enabled": false, "definition": { "id": "7c555368-ca64-4199-add6-9ebaf0b0137d" }, "inputs": { "multipliers": "[]", "parallel": "false", "continueOnError": "true", "additionalFields": "{}" } }, { "enabled": false, "definition": { "id": "a9db38f9-9fdc-478c-b0f9-464221e58316" }, "inputs": { "workItemType": "234347", "assignToRequestor": "true", "additionalFields": "{}" } }, { "enabled": false, "definition": { "id": "57578776-4c22-4526-aeb0-86b6da17ee9c" }, "inputs": { "additionalFields": "{}" } } ], "variables": { "system.debug": { "value": "false", "allowOverride": true }, "Configuration": { "value": "Release", "allowOverride": true }, "Platform": { "value": "x64", "allowOverride": true }, "SignType": { "value": "test", "allowOverride": true }, "OfficialBuildId": { "value": "$(Build.BuildNumber)", "allowOverride": true }, "BuildTag": { "value": "corert-alpha", "allowOverride": true }, "Label": { "value": "$(BuildTag)-$(Build.BuildNumber)", "allowOverride": true }, "SourceVersion": { "value": "HEAD", "allowOverride": true }, "GitUrl": { "value": "https://github.com/dotnet/corert", "allowOverride": true }, "SourceBranch": { "value": "master", "allowOverride": true }, "Git": { "value": "git" }, "SourceFolder": { "value": "corert_$(Build.BuildId)", "allowOverride": false }, "MyGetFeedUrl": { "value": "https://dotnet.myget.org/F/dotnet-core/api/v2/package" }, "MyGetApiKey": { "value": null, "isSecret": true, "allowOverride": true }, "CloudDropAccountName": { "value": "dotnetbuildoutput" }, "CloudDropAccessToken": { "value": null, "isSecret": true }, "UpdatePublishedVersions.AuthToken": { "value": null, "isSecret": true }, "VersionsRepoOwner": { "value": "crummel", "allowOverride": true }, "VersionsRepo": { "value": "dotnet_versions", "allowOverride": true } }, "demands": [ "Agent.OS -equals darwin" ], "retentionRules": [ { "branches": [ "+refs/heads/*" ], "artifacts": [], "artifactTypesToDelete": [ "FilePath", "SymbolStore" ], "daysToKeep": 10, "minimumToKeep": 1, "deleteBuildRecord": true, "deleteTestResults": true } ], "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)", "jobAuthorizationScope": "projectCollection", "jobTimeoutInMinutes": 60, "repository": { "properties": { "labelSources": "0", "reportBuildStatus": "true", "fetchDepth": "0", "gitLfsSupport": "false", "skipSyncSource": "false", "cleanOptions": "3" }, "id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a", "type": "TfsGit", "name": "DotNet-BuildPipeline", "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline", "defaultBranch": "refs/heads/master", "clean": "true", "checkoutSubmodules": false }, "quality": "definition", "defaultBranch": "refs/heads/master", "queue": { "id": 330, "name": "DotNetCore-Build", "pool": { "id": 97, "name": "DotNetCore-Build" } }, "path": "\\", "type": "build", "id": 4511, "name": "DotNet-CoreRT-Mac", "url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/4511", "project": { "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee", "name": "DevDiv", "description": "Visual Studio and DevDiv team project for git source code repositories. Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv. ", "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee", "state": "wellFormed", "revision": 418097423 } }