Deploys Reference Application SNAPSHOT to maven

Build: #14443 failed

Job: Build and push failed

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Release

    Requires a user to start manually
  4. Set variables

  5. Release others

Job result summary

Completed
Duration
1 minute
Agent
yu.openmrs.org
Revision
367b6875404a2fbb4cdd1fee4addf79b43cdf85d 367b6875404a2fbb4cdd1fee4addf79b43cdf85d
Failing since
#14436 (Code changes detected – )
Fixed in
#14444 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

#14 25.63 [INFO] Reactor Build Order:
#14 25.63 [INFO]
#14 25.65 [INFO] Reference Application Distribution                                 [pom]
#14 25.65 [INFO] Reference Application Distribution Package                         [jar]
#14 25.74 [INFO]
#14 25.75 [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
#14 25.75 [INFO] Building Reference Application Distribution 2.14.0-SNAPSHOT        [1/2]
#14 25.76 [INFO]   from pom.xml
#14 25.76 [INFO] --------------------------------[ pom ]---------------------------------
#14 26.51 [INFO]
#14 26.51 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
#14 29.32 [INFO] Installing /app/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/referenceapplication/2.14.0-SNAPSHOT/referenceapplication-2.14.0-SNAPSHOT.pom
#14 29.45 [INFO]
#14 29.45 [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
#14 29.45 [INFO] Building Reference Application Distribution Package 2.14.0-SNAPSHOT [2/2]
#14 29.46 [INFO]   from package/pom.xml
#14 29.46 [INFO] --------------------------------[ jar ]---------------------------------
#14 CANCELED

#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 14.60 Progress (1): 3.3/64 kB
Progress (1): 6.1/64 kB
Progress (1): 8.9/64 kB
Progress (1): 12/64 kB
Progress (1): 14/64 kB
Progress (1): 17/64 kB
Progress (1): 20/64 kB
Progress (1): 23/64 kB
Progress (1): 26/64 kB
Progress (1): 29/64 kB
Progress (1): 31/64 kB
Progress (1): 34/64 kB
Progress (1): 37/64 kB
Progress (1): 40/64 kB
Progress (1): 43/64 kB
Progress (1): 45/64 kB
Progress (1): 48/64 kB
Progress (1): 51/64 kB
Progress (1): 54/64 kB
Progress (1): 56/64 kB
Progress (1): 59/64 kB
Progress (1): 62/64 kB
Progress (1): 64 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/build-helper-maven-plugin/3.0.0/build-helper-maven-plugin-3.0.0.jar (64 kB at 184 kB/s)
#17 14.80 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.pom
#17 16.62 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.pom
#17 17.04 [WARNING] The POM for org.openmrs.api:openmrs-api:jar:2.7.0-alpha is missing, no dependency information available
#17 17.04 [WARNING] The POM for org.openmrs.api:openmrs-api:jar:tests:2.7.0-alpha is missing, no dependency information available
#17 17.05 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/test/openmrs-test/2.7.0-alpha/openmrs-test-2.7.0-alpha.pom
#17 18.13 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/test/openmrs-test/2.7.0-alpha/openmrs-test-2.7.0-alpha.pom
#17 18.23 [WARNING] The POM for org.openmrs.test:openmrs-test:pom:2.7.0-alpha is missing, no dependency information available
#17 18.24 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.jar
#17 18.24 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha-tests.jar
#17 19.81 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.jar
#17 19.81 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha-tests.jar
#17 19.93 [INFO] ------------------------------------------------------------------------
#17 19.94 [INFO] Reactor Summary for Reference Application Distribution 2.14.0-SNAPSHOT:
#17 19.94 [INFO]
#17 19.95 [INFO] Reference Application Distribution ................. SUCCESS [  0.406 s]
#17 19.95 [INFO] Reference Application Distribution Package ......... FAILURE [ 15.120 s]
#17 19.95 [INFO] ------------------------------------------------------------------------
#17 19.95 [INFO] BUILD FAILURE
#17 19.95 [INFO] ------------------------------------------------------------------------
#17 19.95 [INFO] Total time:  15.783 s
#17 19.95 [INFO] Finished at: 2024-11-08T03:02:24Z
#17 19.96 [INFO] ------------------------------------------------------------------------
#17 19.97 [ERROR] Failed to execute goal on project referenceapplication-package: Could not resolve dependencies for project org.openmrs.distro:referenceapplication-package:jar:2.14.0-SNAPSHOT: The following artifacts could not be resolved: org.openmrs.api:openmrs-api:jar:2.7.0-alpha, org.openmrs.api:openmrs-api:jar:tests:2.7.0-alpha, org.openmrs.test:openmrs-test:pom:2.7.0-alpha: Could not find artifact org.openmrs.api:openmrs-api:jar:2.7.0-alpha in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 19.97 [ERROR]
#17 19.97 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 19.97 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 19.97 [ERROR]
#17 19.97 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 19.97 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#17 19.97 [ERROR]
#17 19.97 [ERROR] After correcting the problems, you can resume the build with the command
#17 19.97 [ERROR]   mvn <args> -rf :referenceapplication-package
#17 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#17 19.97 [ERROR] Failed to execute goal on project referenceapplication-package: Could not resolve dependencies for project org.openmrs.distro:referenceapplication-package:jar:2.14.0-SNAPSHOT: The following artifacts could not be resolved: org.openmrs.api:openmrs-api:jar:2.7.0-alpha, org.openmrs.api:openmrs-api:jar:tests:2.7.0-alpha, org.openmrs.test:openmrs-test:pom:2.7.0-alpha: Could not find artifact org.openmrs.api:openmrs-api:jar:2.7.0-alpha in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 19.97 [ERROR]
#17 19.97 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 19.97 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 19.97 [ERROR]
#17 19.97 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 19.97 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#17 19.97 [ERROR]
#17 19.97 [ERROR] After correcting the problems, you can resume the build with the command
#17 19.97 [ERROR]   mvn <args> -rf :referenceapplication-package
------
Dockerfile:14
--------------------
  12 |     
  13 |     # Build the distro
  14 | >>> RUN mvn $MVN_ARGS_SETTINGS $MVN_ARGS
  15 |     
  16 |     ### Run Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1