Fix branch name env var
This commit is contained in:
parent
114595bb01
commit
6e92c3a5e0
|
@ -156,8 +156,10 @@ artifactory {
|
|||
}
|
||||
|
||||
artifactoryPublish.onlyIf {
|
||||
(!pullRequest || pullRequest == 'false') &&
|
||||
project.version.endsWith('-SNAPSHOT') && (branchName.startsWith('master'))
|
||||
// (!pullRequest || pullRequest == 'false') &&
|
||||
// project.version.endsWith('-SNAPSHOT') &&
|
||||
|
||||
branchName.startsWith('master')
|
||||
}
|
||||
|
||||
bintray {
|
||||
|
|
Loading…
Reference in New Issue