From: Matt Rose Date: Wed, 11 Sep 2019 18:32:11 +0000 (-0400) Subject: added documentation for buildClosures function (#2974) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4fb29bd5b094d99bc6f2829562ebcdc5894e14d;p=thirdparty%2Ffreeradius-server.git added documentation for buildClosures function (#2974) --- diff --git a/scripts/jenkins/Jenkinsfile b/scripts/jenkins/Jenkinsfile index fb3df2e7fb5..196042aae18 100644 --- a/scripts/jenkins/Jenkinsfile +++ b/scripts/jenkins/Jenkinsfile @@ -1,5 +1,13 @@ platforms = ["centos7", "debian9", "ubuntu16", "ubuntu18"] +/* +* The buildClosures function is the core function of the script and uses +* function currying to be able to pass multiple dynamically generated +* jenkins build commands into a jenkins parallel block. +* This function ensures that the docker image is built and builds +* FreeRADIUS packages inside the docker image +*/ + def buildClosures(arg) { println arg.inspect() def platforms = arg