Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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.