Publishes the frontend spa-assembly-config.json to Maven (separate plan, so this can be run in parallel with the deploy step)

Build: #1480 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

Build log

The build generated 197 lines of output. Download or view full build log.

17-Dec-2024 17:15:14 Build O3 Reference Application - Publish Frontend Assembly - Default Job #1480 (O3-PFA-JOB1-1480) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
17-Dec-2024 17:15:14 Remote agent on host yu.openmrs.org
17-Dec-2024 17:15:14 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1
17-Dec-2024 17:15:14 Executing build O3 Reference Application - Publish Frontend Assembly - Default Job #1480 (O3-PFA-JOB1-1480)
17-Dec-2024 17:15:14 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
17-Dec-2024 17:15:14 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1
17-Dec-2024 17:15:14 Updating source code to revision: 7a40ad9c1f9efe2993560e3806d18f9a2b6f7d28
17-Dec-2024 17:15:14 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'.
17-Dec-2024 17:15:14 Checking out revision 7a40ad9c1f9efe2993560e3806d18f9a2b6f7d28.
17-Dec-2024 17:15:14 Already on 'main'
17-Dec-2024 17:15:15 Updated source code to revision: 7a40ad9c1f9efe2993560e3806d18f9a2b6f7d28
17-Dec-2024 17:15:15 Finished task 'Checkout Default Repository' with result: Success
17-Dec-2024 17:15:15 Running pre-build action: Build Log Labeller Pre Build Action
17-Dec-2024 17:15:15 Running pre-build action: VCS Version Collector
17-Dec-2024 17:15:15 Running pre-build action: Run Predator
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3368 java        1342 bamboo-age 2998Mb  714Mb 01:13:16 /usr/lib/jvm/java-8-ope
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1342 wrapper        1 bamboo-age   16Mb    1Mb 00:18:57 /home/bamboo-agent/bamb
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:13 /sbin/init             
17-Dec-2024 17:15:15 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Initial free space: 3.2161865 GB
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Deleting 2 snapshot folders from /home/bamboo-agent/.m2/repository
17-Dec-2024 17:15:15 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
17-Dec-2024 17:15:15 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
17-Dec-2024 17:15:16 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
17-Dec-2024 17:15:16 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
17-Dec-2024 17:15:16 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
17-Dec-2024 17:15:16 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
17-Dec-2024 17:15:16 [PredatorPreBuildAction] Final free space: 3.2161865 GB
17-Dec-2024 17:15:16 [PredatorPreBuildAction] Done
17-Dec-2024 17:15:16
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
17-Dec-2024 17:15:16
Substituting password variable: ${bamboo.dockerhub.password}
17-Dec-2024 17:15:16 Starting task 'Extract spa-assemble-config.json from Docker' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
17-Dec-2024 17:15:16
Beginning to execute external process for build 'O3 Reference Application - Publish Frontend Assembly - Default Job #1480 (O3-PFA-JOB1-1480)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/O3-PFA-JOB1-1480-ScriptBuildTask-4719249668850128925.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1
17-Dec-2024 17:15:16 + [[ ehuB != ehuxB ]]
17-Dec-2024 17:15:16 + echo 'Start of Lmod init/bash script to define the module command'
17-Dec-2024 17:15:16 + LMOD_PKG=/usr/share/lmod/lmod
17-Dec-2024 17:15:16 + LMOD_DIR=/usr/share/lmod/lmod/libexec
17-Dec-2024 17:15:16 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
17-Dec-2024 17:15:16 + MODULESHOME=/usr/share/lmod/lmod
17-Dec-2024 17:15:16 + export LMOD_PKG
17-Dec-2024 17:15:16 + export LMOD_CMD
17-Dec-2024 17:15:16 + export LMOD_DIR
17-Dec-2024 17:15:16 + export MODULESHOME
17-Dec-2024 17:15:16 + LMOD_VERSION=6.6
17-Dec-2024 17:15:16 + export LMOD_VERSION
17-Dec-2024 17:15:16 + '[' : '!=' : ']'
17-Dec-2024 17:15:16 + unalias ml
17-Dec-2024 17:15:16 Start of Lmod init/bash script to define the module command
17-Dec-2024 17:15:16 + true
17-Dec-2024 17:15:16 ++ echo YES
17-Dec-2024 17:15:16 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
17-Dec-2024 17:15:16 + export_module=yes
17-Dec-2024 17:15:16 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
17-Dec-2024 17:15:16 + export -f module
17-Dec-2024 17:15:16 + export -f ml
17-Dec-2024 17:15:16 + unset export_module
17-Dec-2024 17:15:16 + '[' -n '' ']'
17-Dec-2024 17:15:16 + '[' 5 -ge 3 ']'
17-Dec-2024 17:15:16 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
17-Dec-2024 17:15:16 + '[' -n '' ']'
17-Dec-2024 17:15:16 + [[ ehuB != ehuxB ]]
17-Dec-2024 17:15:16 + echo 'End of Lmod init/bash script to define the module command'
17-Dec-2024 17:15:16 + export IMAGE=openmrs/openmrs-reference-application-3-frontend
17-Dec-2024 17:15:16 + IMAGE=openmrs/openmrs-reference-application-3-frontend
17-Dec-2024 17:15:16 + docker login -u openmrsci -p ********
17-Dec-2024 17:15:16 End of Lmod init/bash script to define the module command
17-Dec-2024 17:15:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
17-Dec-2024 17:15:16 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
17-Dec-2024 17:15:16 Configure a credential helper to remove this warning. See
17-Dec-2024 17:15:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
17-Dec-2024 17:15:16
17-Dec-2024 17:15:16 Login Succeeded
17-Dec-2024 17:15:16 + docker pull openmrs/openmrs-reference-application-3-frontend:nightly
17-Dec-2024 17:15:17 nightly: Pulling from openmrs/openmrs-reference-application-3-frontend
17-Dec-2024 17:15:17 4abcf2066143: Already exists
17-Dec-2024 17:15:17 fc21a1d387f5: Already exists
17-Dec-2024 17:15:17 e6ef242c1570: Already exists
17-Dec-2024 17:15:17 13fcfbc94648: Already exists
17-Dec-2024 17:15:17 d4bca490e609: Already exists
17-Dec-2024 17:15:17 5406ed7b06d9: Already exists
17-Dec-2024 17:15:17 8a3742a9529d: Already exists
17-Dec-2024 17:15:17 0d0c16747d2c: Already exists
17-Dec-2024 17:15:17 5a24c24a3933: Already exists
17-Dec-2024 17:15:17 3c16a836a180: Already exists
17-Dec-2024 17:15:17 fb2ac5b8842d: Already exists
17-Dec-2024 17:15:17 c4ea080789f2: Already exists
17-Dec-2024 17:15:17 8641f0f4a3ea: Already exists
17-Dec-2024 17:15:17 f06c38eeb2b4: Pulling fs layer
17-Dec-2024 17:15:17 90a48f2393d6: Pulling fs layer
17-Dec-2024 17:15:17 90a48f2393d6: Verifying Checksum
17-Dec-2024 17:15:17 90a48f2393d6: Download complete
17-Dec-2024 17:15:18 f06c38eeb2b4: Verifying Checksum
17-Dec-2024 17:15:18 f06c38eeb2b4: Download complete
17-Dec-2024 17:15:21 f06c38eeb2b4: Pull complete
17-Dec-2024 17:15:22 90a48f2393d6: Pull complete
17-Dec-2024 17:15:22 Digest: sha256:ea365f6c2d27a5fbbda9bfefee4160bff9f0b6a967e9374c7c61704f131b202a
17-Dec-2024 17:15:22 Status: Downloaded newer image for openmrs/openmrs-reference-application-3-frontend:nightly
17-Dec-2024 17:15:22 docker.io/openmrs/openmrs-reference-application-3-frontend:nightly
17-Dec-2024 17:15:22 + docker create --name=openmrs-frontend-container openmrs/openmrs-reference-application-3-frontend:nightly
17-Dec-2024 17:15:22 3bd31deee7f2aa47d5269aa8080aee3aa711978032b1f4905b39f01964381d20
17-Dec-2024 17:15:22 + docker cp openmrs-frontend-container:/usr/share/nginx/html/spa-assemble-config.json ./frontend/src/main/resources/spa-assemble-config.json
17-Dec-2024 17:15:22 + docker rm openmrs-frontend-container
17-Dec-2024 17:15:22 openmrs-frontend-container
17-Dec-2024 17:15:22 Finished task 'Extract spa-assemble-config.json from Docker' with result: Success
17-Dec-2024 17:15:22 Starting task 'Deploy the spa-assemble-config artifact' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
17-Dec-2024 17:15:22
Beginning to execute external process for build 'O3 Reference Application - Publish Frontend Assembly - Default Job #1480 (O3-PFA-JOB1-1480)'
... running command line:
/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/O3-PFA-JOB1 deploy -Pfrontend
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1
17-Dec-2024 17:15:23 [INFO] Scanning for projects...
17-Dec-2024 17:15:23 [INFO] ------------------------------------------------------------------------
17-Dec-2024 17:15:23 [INFO] Reactor Build Order:
17-Dec-2024 17:15:23 [INFO]
17-Dec-2024 17:15:23 [INFO] Package and Run OpenMRS                                            [pom]
17-Dec-2024 17:15:23 [INFO] OpenMRS frontend                                                   [pom]
17-Dec-2024 17:15:23 [INFO]
17-Dec-2024 17:15:23 [INFO] -----------------------< org.openmrs:distro-emr >-----------------------
17-Dec-2024 17:15:23 [INFO] Building Package and Run OpenMRS 3.3.0-SNAPSHOT                    [1/2]
17-Dec-2024 17:15:23 [INFO] --------------------------------[ pom ]---------------------------------
17-Dec-2024 17:15:23 [INFO]
17-Dec-2024 17:15:23 [INFO] --- maven-enforcer-plugin:3.2.1:enforce (enforce-maven) @ distro-emr ---
17-Dec-2024 17:15:23 [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
17-Dec-2024 17:15:23 [INFO]
17-Dec-2024 17:15:23 [INFO] --- maven-install-plugin:3.1.0:install (default-install) @ distro-emr ---
17-Dec-2024 17:15:23 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/distro-emr/3.3.0-SNAPSHOT/distro-emr-3.3.0-SNAPSHOT.pom
17-Dec-2024 17:15:23 [INFO]
17-Dec-2024 17:15:23 [INFO] --- maven-deploy-plugin:3.0.0:deploy (default-deploy) @ distro-emr ---
17-Dec-2024 17:15:24 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/3.3.0-SNAPSHOT/maven-metadata.xml
17-Dec-2024 17:15:25 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/3.3.0-SNAPSHOT/maven-metadata.xml (602 B at 531 B/s)
17-Dec-2024 17:15:25 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/3.3.0-SNAPSHOT/distro-emr-3.3.0-20241217.171523-439.pom
17-Dec-2024 17:15:27 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/3.3.0-SNAPSHOT/distro-emr-3.3.0-20241217.171523-439.pom (7.2 kB at 3.1 kB/s)
17-Dec-2024 17:15:27 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/maven-metadata.xml
17-Dec-2024 17:15:27 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/maven-metadata.xml (454 B at 1.5 kB/s)
17-Dec-2024 17:15:27 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/3.3.0-SNAPSHOT/maven-metadata.xml
17-Dec-2024 17:15:29 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/3.3.0-SNAPSHOT/maven-metadata.xml (602 B at 353 B/s)
17-Dec-2024 17:15:29 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/maven-metadata.xml
17-Dec-2024 17:15:31 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr/maven-metadata.xml (397 B at 208 B/s)
17-Dec-2024 17:15:31 [INFO]
17-Dec-2024 17:15:31 [INFO] ------------------< org.openmrs:distro-emr-frontend >-------------------
17-Dec-2024 17:15:31 [INFO] Building OpenMRS frontend 3.3.0-SNAPSHOT                           [2/2]
17-Dec-2024 17:15:31 [INFO] --------------------------------[ pom ]---------------------------------
17-Dec-2024 17:15:31 [INFO]
17-Dec-2024 17:15:31 [INFO] --- maven-enforcer-plugin:3.2.1:enforce (enforce-maven) @ distro-emr-frontend ---
17-Dec-2024 17:15:31 [INFO]
17-Dec-2024 17:15:31 [INFO] --- maven-assembly-plugin:3.4.2:single (package-distro-artifact) @ distro-emr-frontend ---
17-Dec-2024 17:15:32 [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml
17-Dec-2024 17:15:32 [INFO] Building zip: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1/frontend/target/distro-emr-frontend-3.3.0-SNAPSHOT.zip
17-Dec-2024 17:15:32 [INFO]
17-Dec-2024 17:15:32 [INFO] --- maven-install-plugin:3.1.0:install (default-install) @ distro-emr-frontend ---
17-Dec-2024 17:15:32 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1/frontend/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/distro-emr-frontend-3.3.0-SNAPSHOT.pom
17-Dec-2024 17:15:32 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PFA-JOB1/frontend/target/distro-emr-frontend-3.3.0-SNAPSHOT.zip to /home/bamboo-agent/.m2/repository/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/distro-emr-frontend-3.3.0-SNAPSHOT.zip
17-Dec-2024 17:15:32 [INFO]
17-Dec-2024 17:15:32 [INFO] --- maven-deploy-plugin:3.0.0:deploy (default-deploy) @ distro-emr-frontend ---
17-Dec-2024 17:15:32 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/maven-metadata.xml
17-Dec-2024 17:15:32 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/maven-metadata.xml (786 B at 2.5 kB/s)
17-Dec-2024 17:15:32 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/distro-emr-frontend-3.3.0-20241217.171523-406.pom
17-Dec-2024 17:15:35 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/distro-emr-frontend-3.3.0-20241217.171523-406.pom (1.3 kB at 520 B/s)
17-Dec-2024 17:15:35 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/distro-emr-frontend-3.3.0-20241217.171523-406.zip
17-Dec-2024 17:15:37 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/distro-emr-frontend-3.3.0-20241217.171523-406.zip (645 B at 298 B/s)
17-Dec-2024 17:15:37 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/maven-metadata.xml
17-Dec-2024 17:15:37 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/maven-metadata.xml (463 B at 1.4 kB/s)
17-Dec-2024 17:15:37 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/maven-metadata.xml
17-Dec-2024 17:15:39 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/3.3.0-SNAPSHOT/maven-metadata.xml (786 B at 423 B/s)
17-Dec-2024 17:15:39 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/maven-metadata.xml
17-Dec-2024 17:15:41 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro-emr-frontend/maven-metadata.xml (406 B at 203 B/s)
17-Dec-2024 17:15:41 [INFO] ------------------------------------------------------------------------
17-Dec-2024 17:15:41 [INFO] Reactor Summary for Package and Run OpenMRS 3.3.0-SNAPSHOT:
17-Dec-2024 17:15:41 [INFO]
17-Dec-2024 17:15:41 [INFO] Package and Run OpenMRS ............................ SUCCESS [  7.993 s]
17-Dec-2024 17:15:41 [INFO] OpenMRS frontend ................................... SUCCESS [ 10.010 s]
17-Dec-2024 17:15:41 [INFO] ------------------------------------------------------------------------
17-Dec-2024 17:15:41 [INFO] BUILD SUCCESS
17-Dec-2024 17:15:41 [INFO] ------------------------------------------------------------------------
17-Dec-2024 17:15:41 [INFO] Total time:  18.109 s
17-Dec-2024 17:15:41 [INFO] Finished at: 2024-12-17T17:15:41Z
17-Dec-2024 17:15:41 [INFO] ------------------------------------------------------------------------
17-Dec-2024 17:15:41 Finished task 'Deploy the spa-assemble-config artifact' with result: Success
17-Dec-2024 17:15:41 Running post build plugin 'Docker Container Cleanup'
17-Dec-2024 17:15:41 Running post build plugin 'NCover Results Collector'
17-Dec-2024 17:15:41 Running post build plugin 'Build Results Label Collector'
17-Dec-2024 17:15:41 Running post build plugin 'Clover Results Collector'
17-Dec-2024 17:15:41 Running post build plugin 'npm Cache Cleanup'
17-Dec-2024 17:15:41 Running post build plugin 'Artifact Copier'
17-Dec-2024 17:15:41 Finalising the build...
17-Dec-2024 17:15:41 Stopping timer.
17-Dec-2024 17:15:41 Build O3-PFA-JOB1-1480 completed.
17-Dec-2024 17:15:41 Running on server: post build plugin 'Build Hanging Detection Configuration'
17-Dec-2024 17:15:41 Running on server: post build plugin 'NCover Results Collector'
17-Dec-2024 17:15:41 Running on server: post build plugin 'Build Labeller'
17-Dec-2024 17:15:41 Running on server: post build plugin 'Clover Delta Calculator'
17-Dec-2024 17:15:41 Running on server: post build plugin 'Maven Dependencies Postprocessor'
17-Dec-2024 17:15:41 All post build plugins have finished
17-Dec-2024 17:15:41 Generating build results summary...
17-Dec-2024 17:15:41 Saving build results to disk...
17-Dec-2024 17:15:41 Store variable context...
17-Dec-2024 17:15:41 Finished building O3-PFA-JOB1-1480.