File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ resource "oci_devops_build_pipeline_stage" "repo_build_pipeline_stage" {
138138 image = var. devops_pipeline_image
139139 is_pass_all_parameters_enabled = false
140140 primary_build_source = oci_devops_repository. config_repo [0 ]. name
141- stage_execution_timeout_in_seconds = 300
141+ stage_execution_timeout_in_seconds = 3000
142142 count = local. use-repository ? 1 : 0
143143}
144144
@@ -173,7 +173,7 @@ resource "oci_devops_build_pipeline_stage" "art_build_pipeline_stage" {
173173 image = var. devops_pipeline_image
174174 is_pass_all_parameters_enabled = false
175175 primary_build_source = oci_devops_repository. config_repo [0 ]. name
176- stage_execution_timeout_in_seconds = 300
176+ stage_execution_timeout_in_seconds = 3000
177177 count = local. use-artifact ? 1 : 0
178178}
179179
Original file line number Diff line number Diff line change @@ -7,10 +7,38 @@ component: build
77timeoutInSeconds: 3600
88shell: bash
99env:
10+ variables:
11+ JAVA_HOME : "/usr/java/latest"
1012 vaultVariables:
1113 DB_USER_PASSWORD : "${db_user_password}"
1214 WALLET_PASSWORD : "${wallet_password}"
1315steps:
16+ - type: Command
17+ name: Install Java
18+ timeoutInSeconds: 600
19+ failImmediatelyOnError: true
20+ command: |
21+ dnf install -y jdk-24-headful --enablerepo=ol8_oci_included
22+ export PATH=$JAVA_HOME/bin:$PATH
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
1442 - type: Command
1543 name: Build application
1644 timeoutInSeconds: 600
You can’t perform that action at this time.
0 commit comments