From 2957c0f9d649dd70a48e62e7132a7c1c519f2b92 Mon Sep 17 00:00:00 2001 From: Gowrishankar Rajaiyan Date: Thu, 26 Feb 2015 19:00:08 +0530 Subject: [PATCH] Add help to functions --- nexus/plugins/ci.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nexus/plugins/ci.py b/nexus/plugins/ci.py index 4ccf29c..9a3f84b 100644 --- a/nexus/plugins/ci.py +++ b/nexus/plugins/ci.py @@ -28,8 +28,20 @@ def run(self, options, conf_dict): git.get_archive() restraint = Restraint(options, conf_dict) + + """ This function actually runs restraint command and + executed the job on beaker. + """ restraint.run_restraint(options, conf_dict) + + """ This function converts job.xml to junit.xml for jenkins + trend. + """ restraint.restraint_junit() + + """ This function copies index.html created by restraint within + its job directory to WORKSPACE. + """ restraint.restraint_html() else: logger.log.error("Unknown provisioner")