forked from controlsfx/controlsfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitbucket-pipelines.yml
44 lines (43 loc) · 1.68 KB
/
bitbucket-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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