Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline template for capella addons #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

felixdo
Copy link

@felixdo felixdo commented Feb 19, 2020

This makes standard addon Jenkinsfiles very simple:

capellaAddon {
url = <my addon git url>
name = 'MyAddon'
targetPlatform = "MyAddon/my/targetplatform/pom.xml"
versionFolder = 'some-custom-folder'
}

Optional parameters are:

targetPlatform:
if not present, the build will use a default addon targetplatform

versionFolder:
defaults to the name of the branch being built. can be used
to redirect master branch artifacts to the upcoming capella version
(see below)

The 'name' parameter will be used to for 3 things:

dropins zip filename
update site zip filename
download path segment for artifacts (see below)

Deployment

It is expected that the build produces a single dropins
zip and a single update site + update site zip. These
zipfiles are located by searching for category.xml.

The artifacts (updatesite, updatesite zip, dropins zip)
are then copied to

download.eclipse.org/capella/addons/<name>/zips/nightly/<versionFolder>
for update site and dropin zips.

download.eclipse.org/capella/addons/<name>/updates/nightly/<versionFolder>/<site-version>

where <versionFolder> defaults to the branch name. On master branches
this should be overwritten in Jenkinsfile, using the capella version
that the master branch currently targets.

@felixdo
Copy link
Author

felixdo commented Feb 19, 2020

better read the real commit message, some of the formatting messed up in the pr page..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant