Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EE4J Build"
Line 66: | Line 66: | ||
'''Please note this is currently a workaround and will be improved in the future.''' | '''Please note this is currently a workaround and will be improved in the future.''' | ||
+ | === Push commits/tag to GitHub repository === | ||
+ | In order to be able to push to GitHub repositories, you need 2 things: | ||
+ | * Configure the git user email and user name in a shell build step: | ||
+ | |||
+ | <source lang="bash"> | ||
+ | git config --global user.email "<projectname>-bot@eclipse.org" | ||
+ | git config --global user.name "Eclipse <projectname> Bot" | ||
+ | </source> | ||
+ | |||
+ | |||
+ | * Activate the SSH Agent with the GitHub Bot SSH credentials in the binding section of your job configuration: | ||
+ | |||
+ | |||
+ | [[File:ee4j-ssh-agent.png]] | ||
[[Category:CBI]] [[Category:Releng]] [[Category:Jenkins]] | [[Category:CBI]] [[Category:Releng]] [[Category:Jenkins]] |
Revision as of 08:53, 9 October 2018
This page gives an overview of the build setup and infrastructure for EE4J projects.
Contents
Build infrastructure overview
Every EE4J project can request it's own Jenkins instance. All sub projects of a project share a single Jenkins instance.
All EE4J JIPPs will be hosted on CloudBees Jenkins Enterprise (CJE) / CloudBees Core infrastructure. Projects that still have a Jenkins instance on our old infrastructure will be migrated in Q4 2018. Jenkins instances running on ci.eclipse.org (e.g. https://ci.eclipse.org/grizzly) are currently hosted on the old infrastructure. Jenkins instances running on jenkins.eclipse.org (e.g. https://jenkins.eclipse.org/glassfish) are hosted on our new infrastructure (CJE/Core). Please note: the sub domains ci.eclipse.org and jenkins.eclipse.org will be unified at a later date.
Please see the EE4J Project Provisioning Status Google Doc for details.
How to requests a Jenkins instance?
Please file a bug file a bug against Eclipse Foundation > Community > CI-Jenkins to request your project's own instance. Make include the name of your project and ensure your project lead can +1 the request.
Deployment to OSSRH / Maven Central
Deploying artifacts to OSSRH (OSS Repository Hosting provided by Sonatype) requires an account at OSSRH. It is also required to sign all artifacts with GPG. The Eclipse IT team will set this up for the project.
Here are the required steps to configure your Jenkins build job for deployment to OSSRH:
Please note this is currently a workaround and will be improved in the future.
Push commits/tag to GitHub repository
In order to be able to push to GitHub repositories, you need 2 things:
- Configure the git user email and user name in a shell build step:
git config --global user.email "<projectname>-bot@eclipse.org" git config --global user.name "Eclipse <projectname> Bot"
- Activate the SSH Agent with the GitHub Bot SSH credentials in the binding section of your job configuration: