Add support for Gatling plugin
This plugin integrates gatling, an open source strees tool, with Jenkins and allows you to: * Keep track of a Gatling simulation, providing performance trends across builds * Publish detailed reports for each build Change-Id: Id58337012cd867cc019515e58c86a33d806fbd2a
This commit is contained in:
parent
b91cca3945
commit
2d09702c8a
|
@ -4283,6 +4283,22 @@ def display_upstream_changes(parser, xml_parent, data):
|
|||
'DisplayUpstreamChangesRecorder')
|
||||
|
||||
|
||||
def gatling(parser, xml_parent, data):
|
||||
"""yaml: gatling
|
||||
Publish gatling results as a trend graph
|
||||
Requires the Jenkins :jenkins-wiki:`Gatling Plugin <Gatling+Plugin>`.
|
||||
|
||||
Example:
|
||||
|
||||
.. literalinclude:: /../../tests/publishers/fixtures/gatling001.yaml
|
||||
:language: yaml
|
||||
"""
|
||||
gatling = XML.SubElement(
|
||||
xml_parent,
|
||||
'io.gatling.jenkins.GatlingPublisher')
|
||||
XML.SubElement(gatling, 'enabled').text = 'true'
|
||||
|
||||
|
||||
class Publishers(jenkins_jobs.modules.base.Base):
|
||||
sequence = 70
|
||||
|
||||
|
|
|
@ -156,6 +156,7 @@ jenkins_jobs.publishers =
|
|||
fingerprint=jenkins_jobs.modules.publishers:fingerprint
|
||||
fitnesse=jenkins_jobs.modules.publishers:fitnesse
|
||||
ftp=jenkins_jobs.modules.publishers:ftp
|
||||
gatling=jenkins_jobs.modules.publishers:gatling
|
||||
git=jenkins_jobs.modules.publishers:git
|
||||
github-notifier=jenkins_jobs.modules.publishers:github_notifier
|
||||
groovy-postbuild=jenkins_jobs.modules.publishers:groovy_postbuild
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<publishers>
|
||||
<io.gatling.jenkins.GatlingPublisher>
|
||||
<enabled>true</enabled>
|
||||
</io.gatling.jenkins.GatlingPublisher>
|
||||
</publishers>
|
||||
</project>
|
|
@ -0,0 +1,2 @@
|
|||
publishers:
|
||||
- gatling
|
Loading…
Reference in New Issue