In the error log, i found this: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project metadatamapping-api: MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1]
I have just updated your tasks Enviroment variables with JAVA_HOME=${bamboo.capability.system.jdk.openjdk-8-jdk} MAVEN_HOME=${bamboo.capability.system.builder.mvn3.Maven 3}
@dkayiwa I kindly need your help please! I have tried releasing the htmlformentry module but am having failing tests which may be as a result of a broken commit added at some point. Kindly how can I go about it?
@dkayiwa, @ibacher am trying to release Reporting UI module but am stack with the below error. [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. even after updating my task Environment variable with JAVA_HOME=${bamboo.capability.system.jdk.openjdk-8-jdk} as reflected on the screen below
Am referring to [maven-release-plugin] rollback the release of 1.10.0 on the github commit link Commits · openmrs/openmrs-module-reportingui · GitHub. My stupid think is they are the ones causing the rollback from 1.11.0 to 1.10.0
Thanks so much! I have managed to release on the CI though on the addons it has not updated yet.(Just thought of giving you good news because my entire location we are in total darkness) and will check again when electricity is back.
Both of those need the JAVA_HOME=${bamboo.capability.system.jdk.openjdk-8-jdk} fix applied… This is probably going to come up for a fair number of modules.
I had already added JAVA_HOME=${bamboo.capability.system.jdk.openjdk-8-jdk} and I have repeated the same procedure a fresh but still getting errors. Though still looking through the errors logs critically.