Skip to content

Commit 19fbe66

Browse files
committed
Don't install java or gradle
1 parent 02568f8 commit 19fbe66

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

java/build-repo.yaml.template

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,10 @@ component: build
77
timeoutInSeconds: 3600
88
shell: bash
99
env:
10-
variables:
11-
JAVA_HOME : "/usr/java/latest"
1210
vaultVariables:
1311
DB_USER_PASSWORD : "${db_user_password}"
1412
WALLET_PASSWORD : "${wallet_password}"
1513
steps:
16-
- type: Command
17-
name: Install Java
18-
timeoutInSeconds: 600
19-
failImmediatelyOnError: true
20-
command: |
21-
yum --enablerepo=ol7_oci_included clean metadata
22-
yum install -y jdk-17
23-
onFailure:
24-
- type: Command
25-
command: |
26-
echo $JAVA_HOME
27-
timeoutInSeconds: 400
28-
- type: Command
29-
name: Install Gradle
30-
timeoutInSeconds: 600
31-
failImmediatelyOnError: true
32-
command: |
33-
curl -o gradle-8.5-bin.zip "https://services.gradle.org/distributions/gradle-8.5-bin.zip" -L
34-
mkdir /opt/gradle
35-
unzip -d /opt/gradle gradle-8.5-bin.zip
36-
export PATH=/opt/gradle/gradle-8.5/bin:$PATH
37-
onFailure:
38-
- type: Command
39-
command: |
40-
ls
41-
timeoutInSeconds: 400
4214
- type: Command
4315
name: Build application
4416
timeoutInSeconds: 600

0 commit comments

Comments
 (0)