Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy the version of the artifacts compiled with Jdk8 #601

Merged
merged 8 commits into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ cache:
- "~/.m2/repository"
deploy:
- provider: script
script: travis/deploy.sh
script: chmod +x travis/deploy.sh && travis/deploy.sh
skip_cleanup: true
on:
branch: master
branch: multiple-jdks
jdk: openjdk8
- provider: script
script: travis/deploy.sh
script: chmod +x travis/deploy.sh && travis/deploy.sh
skip_cleanup: true
on:
tags: true
jdk: openjdk8
- provider: releases
api_key: $GIT_TOKEN
file_glob: true
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
<!-- non apache plugin versions and configurations, please sort alphabetically -->
<build-helper-maven-plugin.version>1.9.1</build-helper-maven-plugin.version>
<jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>

<!-- code quality -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
Expand Down
5 changes: 3 additions & 2 deletions travis/deploy.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -xe
#!/bin/bash
#
# Copyright (C) 2013-2020 Expedia Inc.
#
Expand All @@ -14,7 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -xe

set -x
function deployRelease() {

RELEASE_VARS='GPG_PUBLIC_KEYS GPG_SECRET_KEYS GPG_KEY_NAME GPG_PASSPHRASE DOCKER_USERNAME DOCKER_PASSWORD SONATYPE_JIRA_USERNAME SONATYPE_JIRA_PASSWORD'
Expand Down