Finalize only master push feature
This commit is contained in:
parent
28b39a90ca
commit
ebfdb860a8
|
@ -156,12 +156,9 @@ artifactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
artifactoryPublish.onlyIf {
|
artifactoryPublish.onlyIf {
|
||||||
// (!pullRequest || pullRequest == 'false') &&
|
(!pullRequest || pullRequest == 'false') &&
|
||||||
// project.version.endsWith('-SNAPSHOT') &&
|
project.version.endsWith('-SNAPSHOT') &&
|
||||||
|
branchName.startsWith('master')
|
||||||
|
|
||||||
branchName.startsWith('master')
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bintray {
|
bintray {
|
||||||
|
|
Loading…
Reference in New Issue