File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- variables :
2- GIT_STRATEGY : clone
3- JAVA_TOOL_OPTIONS : " -Dfile.encoding=UTF-8"
1+ # variables:
2+ # GIT_STRATEGY: clone
3+ # JAVA_TOOL_OPTIONS: "-Dfile.encoding=UTF-8"
44
5- stages :
6- - test
5+ # stages:
6+ # - test
77
8- test :
9- stage : test
10- image :
11- name : debian:bookworm
12- pull_policy : always # available: always, if-not-present, never
13- script :
14- - apt update
15- - apt install -y wget apt-transport-https gnupg
16- - mkdir -p /etc/apt/keyrings
17- - wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc
18- - echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
19- - apt update
20- - apt install -y temurin-17-jdk ant ivy git curl
21- - git submodule init
22- - git submodule update
23- - ant fetch-metrics-lib
24- - ant -lib /usr/share/java resolve
25- - ant test
26- - ant checks
8+ # test:
9+ # stage: test
10+ # image:
11+ # name: debian:bookworm
12+ # pull_policy: always # available: always, if-not-present, never
13+ # script:
14+ # - apt update
15+ # - apt install -y wget apt-transport-https gnupg
16+ # - mkdir -p /etc/apt/keyrings
17+ # - wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc
18+ # - echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
19+ # - apt update
20+ # - apt install -y temurin-17-jdk ant ivy git curl
21+ # - git submodule init
22+ # - git submodule update
23+ # - ant fetch-metrics-lib
24+ # - ant -lib /usr/share/java resolve
25+ # - ant test
26+ # - ant checks
You can’t perform that action at this time.
0 commit comments