forked from bndtools/bnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
71 lines (66 loc) · 2.13 KB
/
azure-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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
jobs:
- job: OpenJDK8
pool:
vmImage: 'ubuntu-16.04'
steps:
- bash: |
set -ev
curl -O -L --retry 3 https://github.com/sormuras/bach/raw/master/install-jdk.sh
source install-jdk.sh --url https://cdn.azul.com/zulu/bin/zulu8.33.0.1-jdk8.0.192-linux_x64.tar.gz
./gradlew --no-daemon --version
./mvnw --version
./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 --continue :build :maven:deploy
displayName: Build
env:
JFROG_USERNAME: $(JFrog.Username)
JFROG_PASSWORD: $(JFrog.Password)
- job: OpenJDK11
pool:
vmImage: 'ubuntu-16.04'
steps:
- bash: |
set -ev
curl -O -L --retry 3 https://github.com/sormuras/bach/raw/master/install-jdk.sh
source install-jdk.sh --url https://cdn.azul.com/zulu/bin/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz
./gradlew --no-daemon --version
./mvnw --version
./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 --continue :build :maven:deploy
displayName: Build
- job: LocalRebuild
pool:
vmImage: 'ubuntu-16.04'
steps:
- bash: |
set -ev
curl -O -L --retry 3 https://github.com/sormuras/bach/raw/master/install-jdk.sh
source install-jdk.sh --url https://cdn.azul.com/zulu/bin/zulu8.33.0.1-jdk8.0.192-linux_x64.tar.gz
./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 :biz.aQute.bnd.gradle:build :biz.aQute.bnd.gradle:releaseNeeded
./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 --rerun-tasks -Pbnd_repourl=./dist/bundles :buildscriptDependencies :build
displayName: Build
- job: WindowsJDK8
pool:
vmImage: 'vs2017-win2016'
steps:
- bash: |
set -ev
./gradlew --no-daemon --version
./mvnw --version
./gradlew --no-daemon -Dmaven.repo.local=maven/target/m2 --continue :build :maven:deploy
displayName: Build
- job: Documentation
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UseRubyVersion@0
inputs:
versionSpec: '>= 2.4'
addToPath: true
- bash: |
set -ev
ruby --version
gem --version
gem install bundler
bundle --version
cd docs
./build.sh
displayName: Build