Please note: Since last week, one of the IGB tests has begun failing due to a Web resource no longer being available. Srishti Tiwari has committed a fix for same, which is now merged to the master branch. I have cherry-picked her commit and added it to release-9.1.4 on my fork. I re-ran the release's bitbucket pipeline after pushing the cherry-picked commit to my fork. The same error occurs:
"[INFO] — install4j-maven-plugin:1.1.1:compile (compile-installers) @ main —
[INFO] install4j version 7.0.8 (build 7248), built on 2018-11-06
[INFO] Using Java 1.8.0_212 from /usr/lib/jvm/jdk1.8.0_212/jre
[INFO] Registered to
[INFO]
[INFO] Loading config file /opt/atlassian/pipelines/agent/build/distribution/igb_7.install4j
[INFO] install4j: compilation failed. Reason: Password might be wrong. (macOS)
[INFO] ------------------------------------------------------------------------"
Prutha Kulkarni and Pooja Nikhare:
For the next steps, let's try the tried-and-true tactic of googling the error message
Unfortunately, this is the only one of two ideas I have at this time.
The other idea:
I think there is something going wrong somehow with the bitbucket environment since Pooja Nikhare and Prutha Kulkarni have been able to successfully build a non-defective MacOS installers using a Mac computer (Prutha) and our Docker image (Pooja) running on a local host.
For the next attempt, I think we should do a deeper dive into the jar-signing step. Probably Install4J is literally just using the jar-signing utility from the java distribution itself, which is packaged with our Docker image. Since that is the step that seems to be failing, we ought to try directly calling that step within the bitbucket environment itself by adding a jar-signing call to the pipeline YML file and observing the outputs to stdout and stderr.
This also may be useful:
https://www.ej-technologies.com/resources/install4j/help/doc/concepts/codeSigning.html
Problem was due to an expired jar-signing key from Apple.
Created new Apple developer key for signing jar files.