Child pages
  • Moving the Sling Launchpad to use released artifacts only

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We also discussed how to handle tests deployed under the launchpad which test functionality which is only present in SNAPSHOT versions. A proposal was made to use The proposals where:

  1. Create an annotation/assumption related to the bundles deployed in the Sling launchpad, e.g. \@NeedsBundleVersion(name="org.apache.sling.api", version="2.10.0") or Assume.asumeThat(bundleVersionPresent("org.apache.sling.api", "2.10.0"));
  2. Use a simple exclusion lists for deactivating tests, ideally using the same mechanism as the one used to switch to snapshot versions

A new pair of Jenkins jobs need to be created, to cover building the unstable launchpad and running the integration tests against it. The launchpad should be deployed with a different classifier, to prevent any mix-ups on repository.apache.org.

References:

  1. dev@sling - Launchpad stable and launchpad unstable
  2. https://svn.apache.org/repos/asf/sling/trunk/launchpad/builder/set-sling-snapshots.sh