Skip to content

Commit 1861e0a

Browse files
committed
Use Bintray to snapshot builds
1 parent 75950a7 commit 1861e0a

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ after_deploy: source .travis/release.sh
4343
notifications:
4444
email:
4545
recipients:
46-
46+
4747
on_success: always
4848
on_failure: always
4949
cache:

.travis/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ echo "TRAVIS_ALLOW_FAILURE: $TRAVIS_ALLOW_FAILURE"
1616

1717

1818
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_SECURE_ENV_VARS}" = "true" ]; then
19-
# Uploading the update site to sourceforge
20-
rsync -avh --delete net.sourceforge.pmd.eclipse.p2updatesite/target/repository/ ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-eclipse/update-site-latest/
21-
rsync -avh net.sourceforge.pmd.eclipse.p2updatesite/target/net.sourceforge.pmd.eclipse.p2updatesite-*.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd-eclipse/update-site-latest/net.sourceforge.pmd.eclipse.p2updatesite-LATEST.zip
19+
# Uploading the update site to Bintray
20+
./mvnw verify -DskipTests -Psnapshot-properties -Prelease-composite
2221
fi

ReleaseNotes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
Installation instructions: <http://pmd.sourceforge.net/eclipse/>
44

5-
Eclipse Update Site: <https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/>
5+
Eclipse Update Site:
6+
7+
* Releases: <https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/>
8+
* Snapshots: <https://dl.bintray.com/pmd/pmd-eclipse-plugin/snapshots/updates/>
69

710
## ????: 4.0.16.v????
811

net.sourceforge.pmd.eclipse.p2updatesite/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@
5050
</build>
5151

5252
<profiles>
53+
<profile>
54+
<!-- Activate this profile additionally to release-composite, to release snapshot builds to Bintray -->
55+
<id>snapshot-properties</id>
56+
<activation>
57+
<activeByDefault>false</activeByDefault>
58+
</activation>
59+
60+
<properties>
61+
<bintray.package>snapshots</bintray.package>
62+
<bintray.releases.path>snapshots/builds</bintray.releases.path>
63+
<bintray.composite.path>snapshots/updates</bintray.composite.path>
64+
<bintray.zip.path>snapshots/zipped</bintray.zip.path>
65+
<child.repository.path.prefix>../../builds/</child.repository.path.prefix>
66+
</properties>
67+
</profile>
5368
<profile>
5469
<!-- Activate this profile to perform the release to Bintray -->
5570
<id>release-composite</id>

0 commit comments

Comments
 (0)