Changeset - r23448:792baa509640
[Not reviewed]
master
0 1 0
glx - 6 years ago 2019-03-10 14:09:57
glx@openttd.org
Fix: [AzurePipelines] run commit checker only for PRs
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
azure-pipelines/templates/linux-build.yml
Show inline comments
 
@@ -23,8 +23,8 @@ steps:
 
    displayName: 'Build'
 
  ${{ if eq(parameters.Image, 'compile-farm-ci') }}:
 
    displayName: 'Build and test'
 
  ${{ if eq(parameters.Tag, 'commit-checker') }}:
 
    condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
 
    # Run the commit-checker only if it is a Pull Request
 
    condition: and(succeeded(), or(ne(variables['Agent.JobName'], 'commit-checker'), eq(variables['Build.Reason'], 'PullRequest')))
 
  inputs:
 
    command: 'Run an image'
 
    imageName: openttd/${{ parameters.Image }}:${{ parameters.Tag }}
0 comments (0 inline, 0 general)