Apache Sling Jenkins Tooling

Clone this repo:
  1. f299994 SLING-11843 build on JDK11/17 with Windows and Linux by default (#16) by Konrad Windszus · 2 weeks ago master
  2. a9f5de4 SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 9 weeks ago
  3. 0f36ff5 SLING-11673 - Jenkins sanity check stage executed even when no parallel builds are triggered (#15) by Robert Munteanu · 7 months ago
  4. 849fe59 SLING-11396 readd globalConfig.mainNodeLabel as still referenced for some stages by Konrad Windszus · 8 months ago
  5. c7d57b2 SLING-11396 configurable operating system with matrix builds (#14) by Konrad Windszus · 8 months ago

Apache Sling

Sonarcloud Status License

Sling Jenkins Shared Library

The master branch of this module is pulled directly from the Jenkins builds and used as Jenkins Shared Library with name sling, no deployment step is required to activate changes as the master branch is loaded implicitly.

See https://cwiki.apache.org/confluence/display/SLING/Sling+Jenkins+Setup for more info.

Test Changes

As changes to master are active immediately on all jobs, it is recommended to test any changes in the Jenkins Shared Library by pushing them to a dedicated branch (in this example named mybranch) and then reference that branch from within a branch of any other project, by using a Jenkinsfile explicitly via @Library as follows

 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *   http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.

@Library('sling@mybranch') _

When the branch job related to the modified Jenkinsfile is built, it will use the library from mybranch instead of master. Other jobs are not affected.