mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Migrate dev builds artifacts from Bintray to Artifactory
First attempt
This commit is contained in:
parent
020ff5f6b5
commit
e71e97f2fe
@ -129,7 +129,7 @@ jobs:
|
|||||||
- Windows_x64
|
- Windows_x64
|
||||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'), true)
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'), true)
|
||||||
variables:
|
variables:
|
||||||
- group: bintray
|
- group: artifactory
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
steps:
|
steps:
|
||||||
@ -144,10 +144,9 @@ jobs:
|
|||||||
files: '$(Build.SourcesDirectory)/dev_bin/**/*.*'
|
files: '$(Build.SourcesDirectory)/dev_bin/**/*.*'
|
||||||
authType: 'userAndPass'
|
authType: 'userAndPass'
|
||||||
username: $(username)
|
username: $(username)
|
||||||
password: $(api-key)
|
password: $(pass)
|
||||||
options: -H "X-Bintray-Publish:1"
|
|
||||||
remotePath: ''
|
remotePath: ''
|
||||||
url: https://api.bintray.com/content/luisangelsm/YACReader/DevBuilds/$(Build.BuildNumber)/
|
url: https://yacreader.jfrog.io/artifactory/yacreader/$(Build.BuildNumber)/
|
||||||
|
|
||||||
- ${{ if and(eq(variables['System.TeamFoundationCollectionUri'], 'https://dev.azure.com/luisangelsm/'), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))) }}:
|
- ${{ if and(eq(variables['System.TeamFoundationCollectionUri'], 'https://dev.azure.com/luisangelsm/'), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))) }}:
|
||||||
- job: Release
|
- job: Release
|
||||||
|
Loading…
Reference in New Issue
Block a user