Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 341296a

Browse files
committed
Try different secure keys for maven upload
1 parent 0bc54fb commit 341296a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ after_success:
2323
- buildscripts/deploy_snapshot.sh
2424
env:
2525
global:
26-
- nexusPassword="fakepw"
27-
- nexusUsername="fakeun"
26+
- secure: P1ehMlSzqv9hjJyIH3VxQ8HxjgCd4ROnIeRynjr0HifLt4viEuIaPSoOFM7e/QwKHVU1/IoX1NjYD7BLlLBSb2yhdKburXkTM8RK3iG1BcL36k0h6GkOTSSVU9I8IYKaOn/zdz50bcvK1W/aJgBhqoNwQ4ku9fViGCWyBQTUYVg=
27+
- secure: GjZfwGIEpmavGgV1kd3n2oFySeQnXWHovcy397TX8OdL2vrwv9fh+EhDsqO70E7Dg6r5EYORMtjXoThd47w65uqu8+ukYuVTu/kc6MGe2H/5aHcOcUJ3zybawCLEPaYskO8Daz/JwnQkytO5eyONnYhztFu0Yx1uKdpXfjnIuu0=

buildscripts/deploy_snapshot.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ elif [ "$TRAVIS_BRANCH" != "$BRANCH" ]; then
2222
echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$TRAVIS_BRANCH'."
2323
else
2424
echo "Deploying snapshot..."
25-
echo $nexusUsername
26-
echo $nexusPassword
2725
./gradlew -PnexusUsername=$nexusUsername -PnexusPassword=$nexusPassword :sixpack-java:uploadArchives
2826
echo "Snapshot deployed!"
2927
fi

0 commit comments

Comments
 (0)