diff --git a/build/azure-pipelines/darwin/sql-product-build-darwin.yml b/build/azure-pipelines/darwin/sql-product-build-darwin.yml index ae7cd169a3..64257e76aa 100644 --- a/build/azure-pipelines/darwin/sql-product-build-darwin.yml +++ b/build/azure-pipelines/darwin/sql-product-build-darwin.yml @@ -195,7 +195,3 @@ steps: - script: 'echo "##vso[build.addbuildtag]Scheduled" ' displayName: 'Add scheduled tag if needed' condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['Build.Reason'], 'Schedule')) - - - script: 'echo "##vso[build.addbuildtag]AutoRelease" ' - displayName: 'Add AutoRelease tag if needed' - condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['AUTO_RELEASE'], 'true')) diff --git a/build/azure-pipelines/linux/sql-product-build-linux.yml b/build/azure-pipelines/linux/sql-product-build-linux.yml index f9ad2e2a8c..746a556898 100644 --- a/build/azure-pipelines/linux/sql-product-build-linux.yml +++ b/build/azure-pipelines/linux/sql-product-build-linux.yml @@ -183,10 +183,6 @@ steps: displayName: 'Add scheduled tag if needed' condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['Build.Reason'], 'Schedule')) - - script: 'echo "##vso[build.addbuildtag]AutoRelease" ' - displayName: 'Add AutoRelease tag if needed copy' - condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['AUTO_RELEASE'], 'true')) - - script: 'echo "##vso[build.addbuildtag]PerfTestCandidate" ' displayName: 'Add PerfTestCandidate tag if needed' condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['VSCODE_QUALITY'], 'insider')) diff --git a/build/azure-pipelines/sql-product-build.yml b/build/azure-pipelines/sql-product-build.yml index 157ede214c..3b41b9a841 100644 --- a/build/azure-pipelines/sql-product-build.yml +++ b/build/azure-pipelines/sql-product-build.yml @@ -22,6 +22,17 @@ jobs: timeoutInMinutes: 120 cancelTimeoutInMinutes: 5 +- job: Release + condition: and(succeeded(), or(eq(variables['VSCODE_RELEASE'], 'true'), and(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['Build.Reason'], 'Schedule')))) + pool: + vmImage: 'Ubuntu-16.04' + dependsOn: + - macOS + - Linux + - Windows + steps: + - template: sql-release.yml + trigger: none pr: none diff --git a/build/azure-pipelines/sql-release.yml b/build/azure-pipelines/sql-release.yml new file mode 100644 index 0000000000..57245e3838 --- /dev/null +++ b/build/azure-pipelines/sql-release.yml @@ -0,0 +1,5 @@ +steps: + - script: | + set -e + echo "##vso[build.addbuildtag]Release" + displayName: Set For Release diff --git a/build/azure-pipelines/win32/sql-product-build-win32.yml b/build/azure-pipelines/win32/sql-product-build-win32.yml index 021f9a3366..d00b8dd8df 100644 --- a/build/azure-pipelines/win32/sql-product-build-win32.yml +++ b/build/azure-pipelines/win32/sql-product-build-win32.yml @@ -420,10 +420,6 @@ steps: displayName: 'Tag build if scheduled' condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['Build.Reason'], 'Schedule')) - - powershell: 'Write-Host "##vso[build.addbuildtag]AutoRelease" ' - displayName: 'Tag build for AutoRelease if needed' - condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['AUTO_RELEASE'], 'true')) - - powershell: 'Write-Host "##vso[build.addbuildtag]PerfTestCandidate" ' displayName: 'Tag build for PerfTestCandidate if needed' condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['VSCODE_QUALITY'], 'insider'))