Finalize only master push feature
This commit is contained in:
parent
28b39a90ca
commit
ebfdb860a8
|
@ -156,12 +156,9 @@ 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