CI build failure on release to maven stage

Hello everyone ;

Am releasing openmrs-core 2.4.x from CI by running the Release stage however the Release to Maven stage is failing with

[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.

Any insights on how i can check the SCM tag to see if its a ssh or http

Thanks

cc @dkayiwa

According to this you already created the branch via previous runs. If you want to run it again, you would need to first clean that up. Your maven.release.version seems to be pointing to 2.1.0

1 Like

thanks @dkayiwa ,let me clean up and run again

hello @dkayiwa ,the clean up fixed the openmrs core release to maven , :+1:

However when it comes to the platform release to maven its failing as seen here https://ci.openmrs.org/browse/OP-OPM8-10 ,i have clean up the build history from the ci and also made sure the maven.release.version is pointing to 2.4.0 but still run into the build failure

I thought that your version would be 2.4.0-alpha instead of 2.4.0

@dkayiwa yes sure switched it,though it still fails https://ci.openmrs.org/browse/OP-OPM8-12/log

Did you first of all update the versions of modules in here? https://github.com/openmrs/openmrs-distro-platform

not really,

let me raise the PRs

Thanks