Test not publishing build
This commit is contained in:
parent
0356258999
commit
1e7217ea3d
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue