File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Starts Jahia and the module build in the background, as early as possible in the job.
2+ # Starts the module build and Jahia in the background, as early as possible in the job.
33# ci.build.bare-metal.sh waits for the build.
44set -euo pipefail
55
66# Provides the compose variables, SUPER_USER_PASSWORD among them
77source ./set-env.sh
88
9- docker compose up -d --renew-anon-volumes jahia < /dev/null
10-
119mkdir -p artifacts
12- # The build job runs the unit tests: `package` stops before the yarn tests, -DskipTests skips the
13- # Java ones. javascript-create-module is not provisioned. The background process holds none of the
14- # step's streams, so the step ends without waiting for it
10+ # The build is the longest step, so it starts before the Jahia image pull. The build job runs the
11+ # unit tests: `package` stops before the yarn tests, -DskipTests skips the Java ones.
12+ # javascript-create-module is not provisioned. The background process holds none of the step's
13+ # streams, so the step ends without waiting for it
1514(
1615 set +e
1716 JAVA_HOME=" $JAVA_HOME_17_X64 " mvn -B -U -ntp -f ../pom.xml -s ../.github/maven.settings.xml \
1817 -pl ' !javascript-create-module' -DskipTests clean package > artifacts/mvn.log 2>&1
1918 echo $? > artifacts/mvn.status
2019) < /dev/null > /dev/null 2>&1 &
20+
21+ docker compose up -d --renew-anon-volumes jahia < /dev/null
You can’t perform that action at this time.
0 commit comments