You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by su...@apache.org on 2020/10/04 21:23:05 UTC
[incubator-gobblin] branch master updated: [GOBBLIN-1277] Added
travis_retry function to deploy phase
This is an automated email from the ASF dual-hosted git repository.
suvasude pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-gobblin.git
The following commit(s) were added to refs/heads/master by this push:
new 1cf79ef [GOBBLIN-1277] Added travis_retry function to deploy phase
1cf79ef is described below
commit 1cf79ef1fffce760917373b4c578ffb43d601597
Author: vbohra <vb...@linkedin.com>
AuthorDate: Sun Oct 4 14:22:59 2020 -0700
[GOBBLIN-1277] Added travis_retry function to deploy phase
Closes #3117 from vikrambohra/bintrayRetry
---
.travis.yml | 2 +-
gradle/scripts/bintrayPublishing.gradle | 3 ++-
travis/bintrayDeploy.sh | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 1a309f1..9053a5a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,7 +47,7 @@ jobs:
env: RUN_TEST_GROUP=none
install: skip
script:
- - ./travis/bintrayDeploy.sh
+ - travis_retry ./travis/bintrayDeploy.sh
env:
jobs:
diff --git a/gradle/scripts/bintrayPublishing.gradle b/gradle/scripts/bintrayPublishing.gradle
index 9f8780f..1f13d2a 100644
--- a/gradle/scripts/bintrayPublishing.gradle
+++ b/gradle/scripts/bintrayPublishing.gradle
@@ -110,7 +110,8 @@ subprojects{
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY')
publications = ["mavenJava"]
publish = true
- dryRun = project.hasProperty("bintray.dryRun")
+ override = project.hasProperty("bintray.override") //[Default: false]
+ dryRun = project.hasProperty("bintray.dryRun") //[Default: false]
pkg {
repo = 'maven'
name = 'gobblin-github'
diff --git a/travis/bintrayDeploy.sh b/travis/bintrayDeploy.sh
index 1036e61..7b88727 100755
--- a/travis/bintrayDeploy.sh
+++ b/travis/bintrayDeploy.sh
@@ -35,5 +35,5 @@ echo "Pull request: [$TRAVIS_PULL_REQUEST], Travis branch: [$TRAVIS_BRANCH]"
if [ "$TRAVIS_PULL_REQUEST" = "false" ]
then
echo "Uploading artifacts to bintray for version $BUILD_VERSION"
- ./gradlew -i bintrayUpload -Pversion=$BUILD_VERSION
+ ./gradlew bintrayUpload -Pversion=$BUILD_VERSION -Pbintray.override
fi
\ No newline at end of file