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

Build: #1489 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.

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