Test not publishing build

This commit is contained in:
Roman Mandeleil 2015-03-27 12:29:04 +03:00
parent 0356258999
commit 1e7217ea3d
1 changed files with 4 additions and 3 deletions

View File

@ -156,8 +156,9 @@ artifactory {
} }
artifactoryPublish.onlyIf { artifactoryPublish.onlyIf {
(!pullRequest || pullRequest == 'false') && // (!pullRequest || pullRequest == 'false') &&
project.version.endsWith('-SNAPSHOT') && (branchName == 'master') // project.version.endsWith('-SNAPSHOT') && (branchName == 'master')
false
} }
bintray { bintray {
@ -187,7 +188,7 @@ install {
task publish { task publish {
print "publishing if master current branch: " + branchName println "publishing if master current branch: " + branchName
description = "Publishes snapshots to oss.jfrog.org and releases to Bintray/JCenter" description = "Publishes snapshots to oss.jfrog.org and releases to Bintray/JCenter"
dependsOn artifactoryPublish, bintrayUpload dependsOn artifactoryPublish, bintrayUpload
} }