]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
added documentation for buildClosures function (#2974)
authorMatt Rose <mattrose@folkwolf.net>
Wed, 11 Sep 2019 18:32:11 +0000 (14:32 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 11 Sep 2019 18:32:11 +0000 (13:32 -0500)
scripts/jenkins/Jenkinsfile

index fb3df2e7fb52e1e76391a8705195a7f9fe2df109..196042aae189dc0ead289be2f0d3a0890f1b705f 100644 (file)
@@ -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