diff options
author | Daniel Watkins <daniel.watkins@canonical.com> | 2019-07-29 14:19:14 -0400 |
---|---|---|
committer | Daniel Watkins <daniel.watkins@canonical.com> | 2019-07-29 14:41:52 -0400 |
commit | 63c02a8092dcc77163aa542cce8a6105f5759cbc (patch) | |
tree | f1b37573639d6c5f72994919df263a096440dc76 /jenkins_jobs/parser.py | |
parent | 1d48093fe91344af6e921f14dec42fc5d2718be4 (diff) | |
download | python-jenkins-job-builder-63c02a8092dcc77163aa542cce8a6105f5759cbc.tar.gz python-jenkins-job-builder-63c02a8092dcc77163aa542cce8a6105f5759cbc.tar.xz python-jenkins-job-builder-63c02a8092dcc77163aa542cce8a6105f5759cbc.zip |
Revert "Add support for rendering jinja template as yaml"
This reverts commit a9e12ed4a9f5866da0af5fdc68f60b09ca8efa4b.
Change-Id: I2bbb2cc167a4c2cd95ac6b376ebe83bcf7a263ad
Diffstat (limited to 'jenkins_jobs/parser.py')
-rw-r--r-- | jenkins_jobs/parser.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/jenkins_jobs/parser.py b/jenkins_jobs/parser.py index e8549c8f..667ce426 100644 --- a/jenkins_jobs/parser.py +++ b/jenkins_jobs/parser.py @@ -243,16 +243,6 @@ class YamlParser(object): if jobs_glob and not matches(job['name'], jobs_glob): logger.debug("Ignoring job {0}".format(job['name'])) continue - - # Attempt to format all parts of the job definition as they might - # be using custom loaders. - try: - job = deep_format(job, job, template=False) - except Exception: - logging.error( - "Failure formatting job '%s' with itself", job) - raise - logger.debug("Expanding job '{0}'".format(job['name'])) self._formatDescription(job) self.jobs.append(job) |