Skip to content

Commit

Permalink
Push to the build cache from AZP too
Browse files Browse the repository at this point in the history
  • Loading branch information
bsideup committed Dec 1, 2019
1 parent bfb44a0 commit 650e5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {

apply plugin: 'ch.myniva.s3-build-cache'

ext.isMasterBuild = System.getenv("CIRCLE_BRANCH") == "master"
ext.isMasterBuild = (System.getenv("CIRCLE_BRANCH") ?: System.getenv("BUILD_SOURCEBRANCHNAME")) == "master"

buildCache {
local {
Expand Down

0 comments on commit 650e5b0

Please sign in to comment.