Skip to content

Commit

Permalink
Allow "Publish Snapshot Artifacts" job to fail
Browse files Browse the repository at this point in the history
This commit will be reverted when credentials are stored in the Azure
Pipeline account.

Addresses #1810
  • Loading branch information
sormuras authored and marcphilipp committed Mar 16, 2019
1 parent de21010 commit cd3ffd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
export JAVA_HOME="${JAVA_HOME_11_X64}"
./gradlew --scan publish -x check
displayName: Publish
continueOnError: true
condition: and(eq(variables['System.PullRequest.IsFork'], False), and(eq(variables['Build.Reason'], 'IndividualCI'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/releases/'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))))

- job: update_documentation
Expand Down

0 comments on commit cd3ffd8

Please sign in to comment.