DO NOT MANUALLY RUN! Builds the 3.x Docker images and deploys them to the test server
Build: #2 failed
Job: Backend failed
Job result summary
- Completed
- Duration
- 22 seconds
- Flags
- Custom revision
- Revision
-
91c12b4a498b0411994009a4169a00d2f6559928
91c12b4a498b0411994009a4169a00d2f6559928 - Fixed in
- #3 (Rebuilt by Ian Bacher)
- Number of retries
- 1
Custom variables
- Custom revision
-
91c12b4a498b0411994009a4169a00d2f6559928
91c12b4a498b0411994009a4169a00d2f6559928
Error summary
The build generated some errors. See the full build log for more details.
#19 20.41 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
#19 20.42 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
#19 20.42 at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
#19 20.42 at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
#19 20.42 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.42 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.42 Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not find artifact org.openmrs.distro:referenceapplication:pom:3.0.0-beta.3 in openmrs-repo-releases (https://mavenrepo.openmrs.org/releases)
#19 20.42 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:302)
#19 20.42 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213)
#19 20.42 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386)
#19 20.42 at org.apache.maven.plugins.deploy.AbstractDeployMojo.deploy (AbstractDeployMojo.java:156)
#19 20.42 at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:194)
#19 20.43 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
#19 20.43 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
#19 20.43 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
#19 20.43 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
#19 20.43 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
#19 20.44 at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
#19 20.44 at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
#19 20.44 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
#19 20.44 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
#19 20.44 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.44 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.44 Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.openmrs.distro:referenceapplication:pom:3.0.0-beta.3 in openmrs-repo-releases (https://mavenrepo.openmrs.org/releases)
#19 20.44 at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:48)
#19 20.44 at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:369)
#19 20.44 at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put (BasicRepositoryConnector.java:288)
#19 20.44 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:295)
#19 20.44 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213)
#19 20.44 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386)
#19 20.44 at org.apache.maven.plugins.deploy.AbstractDeployMojo.deploy (AbstractDeployMojo.java:156)
#19 20.44 at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:194)
#19 20.44 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
#19 20.44 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
#19 20.44 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
#19 20.44 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
#19 20.44 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
#19 20.44 at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
#19 20.44 at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
#19 20.44 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
#19 20.44 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
#19 20.44 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.44 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.44 [ERROR]
#19 20.44 [ERROR]
#19 20.44 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 20.45 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#19 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 5/10] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn -U -X deploy:
#19 20.44 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.44 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.44 [ERROR]
#19 20.44 [ERROR]
#19 20.44 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 20.45 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:15
--------------------
13 |
14 | # Build the distro
15 | >>> RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn $MVN_ARGS_SETTINGS $MVN_ARGS
16 |
17 | RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
#19 20.42 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
#19 20.42 at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
#19 20.42 at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
#19 20.42 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.42 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.42 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.42 Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not find artifact org.openmrs.distro:referenceapplication:pom:3.0.0-beta.3 in openmrs-repo-releases (https://mavenrepo.openmrs.org/releases)
#19 20.42 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:302)
#19 20.42 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213)
#19 20.42 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386)
#19 20.42 at org.apache.maven.plugins.deploy.AbstractDeployMojo.deploy (AbstractDeployMojo.java:156)
#19 20.42 at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:194)
#19 20.43 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
#19 20.43 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
#19 20.43 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
#19 20.43 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
#19 20.43 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
#19 20.43 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
#19 20.44 at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
#19 20.44 at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
#19 20.44 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
#19 20.44 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
#19 20.44 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.44 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.44 Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.openmrs.distro:referenceapplication:pom:3.0.0-beta.3 in openmrs-repo-releases (https://mavenrepo.openmrs.org/releases)
#19 20.44 at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed (ArtifactTransportListener.java:48)
#19 20.44 at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:369)
#19 20.44 at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put (BasicRepositoryConnector.java:288)
#19 20.44 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:295)
#19 20.44 at org.eclipse.aether.internal.impl.DefaultDeployer.deploy (DefaultDeployer.java:213)
#19 20.44 at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy (DefaultRepositorySystem.java:386)
#19 20.44 at org.apache.maven.plugins.deploy.AbstractDeployMojo.deploy (AbstractDeployMojo.java:156)
#19 20.44 at org.apache.maven.plugins.deploy.DeployMojo.execute (DeployMojo.java:194)
#19 20.44 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
#19 20.44 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
#19 20.44 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
#19 20.44 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
#19 20.44 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
#19 20.44 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
#19 20.44 at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
#19 20.44 at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
#19 20.44 at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
#19 20.44 at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
#19 20.44 at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
#19 20.44 at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
#19 20.44 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.44 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.44 [ERROR]
#19 20.44 [ERROR]
#19 20.44 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 20.45 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#19 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 5/10] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn -U -X deploy:
#19 20.44 at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
#19 20.44 at java.lang.reflect.Method.invoke (Method.java:498)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
#19 20.44 at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
#19 20.44 [ERROR]
#19 20.44 [ERROR]
#19 20.44 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 20.45 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:15
--------------------
13 |
14 | # Build the distro
15 | >>> RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn $MVN_ARGS_SETTINGS $MVN_ARGS
16 |
17 | RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1