Repository :
http://git.fedorahosted.org/cgit/jenkinscat-docs.git
On branch : master
---------------------------------------------------------------
commit 104d45ff13634b2d7aebf791c2caba1667f022fc
Author: Pavel Tisnovsky <ptisnovs(a)redhat.com>
Date: Tue Jan 20 10:58:12 2015 +0100
Support for artifacts processing.
---------------------------------------------------------------
ChangeLog | 5 +++++
tools/create_books_clj_file.lua | 16 ++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5947b09..42135b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-01-20 Pavel Tisnovsky <ptisnovs(a)redhat.com>
+ * tools/create_books_clj_file.lua:
+ Support for artifacts processing.
+
+2015-01-20 Pavel Tisnovsky <ptisnovs(a)redhat.com>
+
* src/jenkinscat/server.clj:
Function for cloning from various repo types.
diff --git a/tools/create_books_clj_file.lua b/tools/create_books_clj_file.lua
index a5ff37a..54abbaa 100644
--- a/tools/create_books_clj_file.lua
+++ b/tools/create_books_clj_file.lua
@@ -487,6 +487,19 @@ function addJobTitleTypeAndProduct(allJobs)
end
end
+
+
+--
+--
+--
+function addArtifactInfo(allJobs)
+ for i, job in ipairs(allJobs) do
+ job.bugzillaProductName, job.bugzillaComponentName, job.bugzillaUrl =
getBugzillaProductNameAndComponentName(job.directory, job.workDirectory)
+ end
+end
+
+
+
--
--
--
@@ -532,6 +545,9 @@ function exportToClojure(fileName, allJobs)
writeItem(fout, job.documentType)
writeItem(fout, job.productName)
writeItem(fout, job.productVersion)
+ writeItem(fout, job.bugzillaProductName)
+ writeItem(fout, job.bugzillaComponentName)
+ writeItem(fout, job.bugzillaUrl)
fout:write(" ]\n")
end
if export_books_as_edn then