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 junit-team#1810
  • Loading branch information
sormuras committed Mar 12, 2019
1 parent 7f53540 commit 4a69085
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 4a69085

Please sign in to comment.