Child pages
  • Sling Jenkins Setup

Versions Compared

Key

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

Table of Contents

Info
titleWork In Progress

This page is not yet complete, please ask on the dev@sling.apache.org mailing list if anything is unclear or out of date

...

Per-job customisations can be applied by creating a Sling module descriptor in the git repository root, see Sling module descriptor for details.

SNAPSHOT parent versions

Jenkins can usually not resolve parent pom SNAPSHOT versions. The main reason for that is that the SNAPSHOT repo url is only defined in the ASF parent (being itself a parent of the sling-parent). The settings.xml being used on all Jenkins instances does not define that repo url. For a detailed explanation look at 

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyINFRA-15815
.

The following snippet can be added as workaround to the project pom.xml which references a SNAPSHOT parent to be able to build it with Jenkins.

Code Block
  <repositories> 
    <repository> 
      <id>apache.snapshots</id> 
      <name>Apache Snapshot Repository</name> 
      <url>https://repository.apache.org/snapshots</url> 
      <releases> 
        <enabled>false</enabled> 
      </releases> 
    </repository> 
  </repositories> 


Pax-Exam tests with SNAPSHOT dependencies

...