Build: #3042 was successful

Job: Deploy to docker was successful

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
7 minutes
Agent
xindi.openmrs.org
Revision
211b4f3b852458fb31a7bc97d94e24e0b935e41d 211b4f3b852458fb31a7bc97d94e24e0b935e41d
Successful since
#2991 ()

Error summary

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

#38 2.776 [WARNING] Cannot get the branch information from the git repository:
#38 2.776 Detecting the current branch failed: fatal: not a git repository (or any of the parent directories): .git
#38 2.776
#38 2.776 [INFO] ShortRevision tag detected. The value is '6'.
#38 2.777 [INFO] Executing: /bin/sh -c cd '/app/webapp' && 'git' 'rev-parse' '--verify' '--short=6' 'HEAD'
#38 2.777 [INFO] Working directory: /app/webapp
#38 2.786 [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
#38 2.787 [INFO]
#38 2.788 [INFO] --- build-helper-maven-plugin:3.3.0:parse-version (parse-version) @ openmrs-webapp ---
#38 2.847 [INFO]
#38 2.847 [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-webapp ---
#38 2.883 [INFO] Copying 2 resources
#38 2.888 [INFO] Copying 1 resource to ../jetty
#38 2.914 [INFO]
#38 2.914 [INFO] --- maven-antrun-plugin:3.1.0:run (default) @ openmrs-webapp ---
#38 3.185 [INFO] Executing tasks
#38 3.200 [INFO]     [unzip] Expanding: /app/webapp/src/main/resources/liquibase-demo-data.zip into /app/webapp/target/classes
#38 3.248 [INFO] Executed tasks
#38 3.249 [INFO]
#38 3.249 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-webapp ---
#38 3.342 [INFO] No sources to compile
#38 3.345 [INFO]
#38 3.346 [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-webapp ---
#38 3.351 [INFO] Copying 1 resource
#38 3.352 [INFO]
#38 3.353 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-webapp ---
#38 3.374 [INFO] No sources to compile
#38 3.374 [INFO]
#38 3.375 [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ openmrs-webapp ---
#38 3.541 [INFO] Tests are skipped.
#38 3.543 [INFO]
#38 3.545 [INFO] --- maven-war-plugin:3.3.2:war (default-war) @ openmrs-webapp ---
#38 3.724 [INFO] Packaging webapp
#38 3.727 [INFO] Assembling webapp [openmrs-webapp] in [/app/webapp/target/openmrs]
#38 3.734 [INFO] Processing war project
#38 3.736 [INFO] Copying webapp webResources [/app/webapp/src/main/webapp] to [/app/webapp/target/openmrs]
#38 3.769 [INFO] Copying webapp resources [/app/webapp/src/main/webapp]
#38 4.171 [INFO] Building war: /app/webapp/target/openmrs.war
#38 7.541 [INFO]
#38 7.541 [INFO] --- maven-jar-plugin:3.3.0:test-jar (default) @ openmrs-webapp ---
#38 7.661 [INFO] Building jar: /app/webapp/target/openmrs-tests.jar
#38 7.689 [INFO]
#38 7.689 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs-webapp ---
#38 7.745 [INFO] Checking licenses...
#38 7.793 [INFO]
#38 7.793 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-webapp ---
#38 7.829 [INFO] Installing /app/webapp/target/openmrs.war to /usr/share/maven/ref/repository/org/openmrs/web/openmrs-webapp/2.6.0-SNAPSHOT/openmrs-webapp-2.6.0-SNAPSHOT.war
#38 7.899 [INFO] Installing /app/webapp/pom.xml to /usr/share/maven/ref/repository/org/openmrs/web/openmrs-webapp/2.6.0-SNAPSHOT/openmrs-webapp-2.6.0-SNAPSHOT.pom
#38 7.904 [INFO] Installing /app/webapp/target/openmrs-tests.jar to /usr/share/maven/ref/repository/org/openmrs/web/openmrs-webapp/2.6.0-SNAPSHOT/openmrs-webapp-2.6.0-SNAPSHOT-tests.jar
#38 7.906 [INFO] ------------------------------------------------------------------------
#38 7.906 [INFO] BUILD SUCCESS
#38 7.906 [INFO] ------------------------------------------------------------------------
#38 7.908 [INFO] Total time:  6.622 s
#38 7.908 [INFO] Finished at: 2022-09-29T11:00:40Z
#38 7.908 [INFO] ------------------------------------------------------------------------
#38 DONE 8.3s

#39 [dev 26/26] WORKDIR /app/webapp
#39 DONE 0.1s

#40 [stage-1 2/9] RUN apt-get update && apt-get install -y zip dumb-init     && apt-get clean      && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/local/tomcat/webapps/*
#40 CACHED

#41 [stage-1 3/9] RUN groupadd -r openmrs      && useradd --no-log-init -r -g openmrs openmrs      && chown -R openmrs /usr/local/tomcat      && mkdir -p /openmrs/data/modules     && mkdir -p /openmrs/data/owa      && mkdir -p /openmrs/data/configuration      && chown -R openmrs /openmrs
#41 CACHED

#42 [stage-1 4/9] COPY wait-for-it.sh startup.sh /usr/local/tomcat/
#42 DONE 0.1s

#43 [stage-1 5/9] RUN chmod -R 755 /usr/local/tomcat/wait-for-it.sh && chmod -R 755 /usr/local/tomcat/startup.sh
#43 DONE 0.2s

#44 [stage-1 6/9] WORKDIR /openmrs
#44 DONE 0.1s

#45 [stage-1 7/9] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
#45 DONE 0.2s

#46 [stage-1 8/9] COPY --from=dev /app/LICENSE LICENSE
#46 DONE 0.1s

#47 [stage-1 9/9] COPY --from=dev /app/webapp/target/openmrs.war /openmrs/distribution/openmrs_core/openmrs.war
#47 DONE 0.3s

#48 exporting to image
#48 exporting layers
#48 exporting layers 3.4s done
#48 exporting manifest sha256:69bb3e86a702c5b5d145333c58c4848e25b3deac1f3c140816922cdfcf40b40b 0.0s done
#48 exporting config sha256:acbe30f0c040ca53c781ae5a6421c88bd67ad1abc5f420f4b30e1d525c130948 0.0s done
#48 pushing layers
#48 ...

#49 [auth] openmrs/openmrs-core:pull,push token for registry-1.docker.io
#49 DONE 0.0s

#48 exporting to image
#48 pushing layers 3.2s done
#48 pushing manifest for docker.io/openmrs/openmrs-core:nightly@sha256:69bb3e86a702c5b5d145333c58c4848e25b3deac1f3c140816922cdfcf40b40b
#48 pushing manifest for docker.io/openmrs/openmrs-core:nightly@sha256:69bb3e86a702c5b5d145333c58c4848e25b3deac1f3c140816922cdfcf40b40b 0.3s done
#48 DONE 7.1s