Versions Compared

Key

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

Table of Contents

Excerpt
hiddentrue

STATUS: implemented as of 2017-11-15

...

Code Block
languagejs
title.sling-module.json example
{
  "jenkins": {
    "jdks": [
      8,
      9
    ],
    "operatingSystems": [
      "windows",
      "linux"
    ],
    "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\""
      }
    },
    "sonarQubeEnabled": false,
    "sonarQubeUseAdditionalMavenParams": false,
    "sonarQubeAdditionalParams": "-PsonarQubeProfile"
  }
}

Description

JSON memberTypePossible Values
jenkins.jdks Array of Numbers8-
19
22
jenkins.operatingSystemsArray of Strings
  • "windows"
  • "linux" (arbitrary Linux distribution)
  • "ubuntu" (always Ubuntu Linux distribution)
  • "linux-arm" (currently Ubuntu ARM)


Default Values

The following JSON members have default values. All others are just not set/empty. Just set them explicitly to a value, if the default does not fit your needs.

JSON memberDefault value
jenkins.jdks 

[ 8 11, 17, 21 ] 

jenkins.operatingSystems

[ "linux", "windows" ]

jenkins.rebuildFrequency 

"@weekly" 

jenkins.sonarQubeEnabled true 
jenkins.sonarQubeUseAdditionalMavenParamstrue 

...

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

...