Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.68 KB
pipelines:
branches:
default:
- step:
name: Build and assemble default branch
image: cogniteev/oracle-java:java8
caches:
- gradle
script:
- chmod +x gradlew
- ./gradlew clean assemble uploadPublished -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Ptransifex.api=$TRANSIFEX_API
9.0.0:
- step:
name: Build and assemble 9.0.0 branch
image: abhinay/oracle-java:java10
caches:
- gradle
script:
- chmod +x gradlew
- ./gradlew clean assemble uploadPublished -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Ptransifex.api=$TRANSIFEX_API
bookmarks:
8.[0-9][0-9]*.[0-9][0-9]*:
- step:
name: Build and release
image: cogniteev/oracle-java:java8
caches:
- gradle
script:
- chmod +x gradlew .ci/update.sh .ci/commit.sh
- ./.ci/update.sh
- ./gradlew clean assemble uploadPublished -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Ptransifex.api=$TRANSIFEX_API
- ./.ci/commit.sh
9.[0-9][0-9]*.[0-9][0-9]*:
- step:
name: Build and release
image: abhinay/oracle-java:java10
caches:
- gradle
script:
- chmod +x gradlew .ci/update.sh .ci/commit.sh
- ./.ci/update.sh
- ./gradlew clean assemble uploadPublished -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD -Ptransifex.api=$TRANSIFEX_API
- ./.ci/commit.sh