add job dependency to pipeline
This commit is contained in:
parent
eb8ea5e222
commit
5a22a759a8
@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Setup Pre-Release configuration'
|
displayName: 'Setup Pre-Release configuration'
|
||||||
condition: eq(variables['Build.SourceBranch'], 'refs/heads/release/pre')
|
condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/release/pre'), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
@ -120,7 +120,9 @@ jobs:
|
|||||||
script: 'wget https://raidmax.org/downloads/dos2unix.exe'
|
script: 'wget https://raidmax.org/downloads/dos2unix.exe'
|
||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
|
workingDirectory: '$(Build.Repository.LocalPath)\Application\BuildScripts'
|
||||||
|
|
||||||
- job: Transform
|
- job: Transform
|
||||||
|
dependsOn: Build
|
||||||
steps:
|
steps:
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: 'Convert Linux start script line endings'
|
displayName: 'Convert Linux start script line endings'
|
||||||
@ -160,7 +162,9 @@ jobs:
|
|||||||
script: 'echo d | xcopy /s /y /f GameFiles $(outputFolder)\GameFiles'
|
script: 'echo d | xcopy /s /y /f GameFiles $(outputFolder)\GameFiles'
|
||||||
workingDirectory: '$(Build.Repository.LocalPath)'
|
workingDirectory: '$(Build.Repository.LocalPath)'
|
||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
|
|
||||||
- job: Artifact
|
- job: Artifact
|
||||||
|
dependsOn: Transform
|
||||||
steps:
|
steps:
|
||||||
- task: ArchiveFiles@2
|
- task: ArchiveFiles@2
|
||||||
displayName: 'Generate final zip file'
|
displayName: 'Generate final zip file'
|
||||||
@ -184,6 +188,7 @@ jobs:
|
|||||||
publishLocation: 'pipeline'
|
publishLocation: 'pipeline'
|
||||||
|
|
||||||
- job: Publish
|
- job: Publish
|
||||||
|
dependsOn: Artifact
|
||||||
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/develop'))
|
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/develop'))
|
||||||
steps:
|
steps:
|
||||||
- task: FtpUpload@2
|
- task: FtpUpload@2
|
||||||
|
Loading…
Reference in New Issue
Block a user