Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #1732 failed

Job: Release to Maven failed

Stages & jobs

  1. Default Stage

  2. Deploy

  3. Release

    Requires a user to start manually

Job result summary

Completed
Duration
1 minute
Agent
xiao.openmrs.org (2)
Revisions
openmrs-module-webservices.rest
f9adc81b69e1f8dd608551e536f7a18d7eb38547
Release scripts
d5831e94deff58c79f07afa118e3aad928391687
Fixed in
#1737 (Manual run from the stage: Release by Ian Bacher)
No failed test found. A possible compilation error occurred.

Error summary

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

+ export IMAGE=maven:3.9.9-amazoncorretto-8
+ IMAGE=maven:3.9.9-amazoncorretto-8
+ docker pull maven:3.9.9-amazoncorretto-8
+ docker run -v m2-repo:/root/.m2/repository -v /home/bamboo-agent/.m2/settings.xml:/root/.m2/settings.xml:ro -v /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-RTM:/module -v /home/bamboo-agent/.ssh/github:/root/.ssh:ro -e GIT_USER_NAME=openmrs-bot -e GIT_USER_EMAIL=infrastructure@openmrs.org -e 'GIT_SSH_COMMAND=ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' --rm -w=/module maven:3.9.9-amazoncorretto-8 bash -c '
    yum -y install git &&
    yum clean all &&
    git config --global user.email "$GIT_USER_EMAIL" &&
    git config --global user.name "$GIT_USER_NAME" &&
    git config --global --add safe.directory /module &&
    ./release-scripts/release-prepare-perform.sh \
      -r 2.50.0 \
      -d 2.51.0-SNAPSHOT \
      -e https://github.com/openmrs/openmrs-module-webservices.rest.git
  '
[ERROR] mvn release:prepare failed. Attempting to do a release rollback.
[ERROR] mvn release:prepare failed, scroll up the logs to see the error. release:rollback was attempted. Delete the tag from the repository (if it exists), check if the SCM tag is a ssh and not http and try again.