Child pages
  • Sling module descriptor

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add sample

...

Code Block
languagejs
title.sling-module.json example
{
  "jenkins": {
    "jdks": [
      8,
      9
    ],
    "archivePatterns": [
      "**/sling/logs/error.log"
    ],
    "mavenGoal": "install",
    "additionalMavenParams": "-Dorg.ops4j.pax.url.mvn.repositories=http://repo.maven.apache.org/maven2@id=apache-releases,http://repository.apache.org/content/groups/snapshots-group@snapshots@noreleases@id=apache-snapshots",
    "upstreamProjects": [
      "sling-org-apache-sling-starter"
    ],
    "rebuildFrequency": "@weekly",
    "enabled": false,
    "emailRecipients": [
      "dev@sling.apache.org"
    ],
    "branches": {
      "master": {
        "nodeLabel": "git-websites",
        "additionalMavenParams": "-Ppublish-site -Dmsg=\"Automatic website deployment\""
      }
    }
  }
}


Samples

Building with multiple JDK versions

Code Block
languagejs
title.sling-module.json
{
  "jenkins": {
    "jdks": [8, 11, 13]
  }
}