Skip to content

Configure Jenkins for Eclipse Starter for Jakarta EE

Please set up the Jenkins CI for Eclipse Starter for Jakarta EE with the appropriate credentials and access right to be able to release artifacts to the Jakarta Staging Repository.

Jenkins for Starter

Jakarta Staging

The credentials (secret file) for the KEYRINB needs to be added, so we can run the following script

 gpg --batch --import ${KEYRING}
 for fpr in $(gpg --list-keys --with-colons  | awk -F: '/fpr:/ {print $10}' | sort -u);
 do
   echo -e "5\ny\n" |  gpg --batch --command-fd 0 --expert --edit-key $fpr trust;
 done

Job Configuration

Log

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign (sign-artifacts) on project jakarta-starter: Exit code: 2 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: