Class ReportPublisherDslExtension
- java.lang.Object
-
- javaposse.jobdsl.plugin.ContextExtensionPoint
-
- de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractDslExtension
-
- de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
-
- de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.ReportPublisherDslExtension
-
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true) public class ReportPublisherDslExtension extends AbstractReportPublisherDslExtension
Class providing report related DSL extensions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReportPublisherDslExtension.PublishATXContext
Context
class providing ATX publisher methods for the nested DSL context.static class
ReportPublisherDslExtension.PublishETLogContext
Context
class providing ecu.test log publisher methods for the nested DSL context.static class
ReportPublisherDslExtension.PublishGeneratorsContext
Context
class providing report generator publisher methods for the nested DSL context.static class
ReportPublisherDslExtension.PublishTMSContext
Context
class providing TMS publisher methods for the nested DSL context.static class
ReportPublisherDslExtension.PublishTRFContext
Context
class providing TRF publisher methods for the nested DSL context.class
ReportPublisherDslExtension.PublishUNITContext
Context
class providing UNIT publisher methods for the nested DSL context.-
Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
AbstractReportPublisherDslExtension.AbstractReportContext
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
validator
-
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractDslExtension
NO_INSTALL_MSG, NOT_NULL_MSG, OPT_TIMEOUT, OPT_TOOL_NAME
-
-
Constructor Summary
Constructors Constructor Description ReportPublisherDslExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
publishATX(CharSequence atxName)
DslExtensionMethod
for publishing ATX reports with default settings.Object
publishATX(CharSequence atxName, Runnable closure)
DslExtensionMethod
for publishing ATX reports.Object
publishETLogs()
DslExtensionMethod
for publishing ecu.test logs with default settings.Object
publishETLogs(Runnable closure)
DslExtensionMethod
for publishing ecu.test logs.Object
publishGenerators(CharSequence toolName)
DslExtensionMethod
for publishing generated reports with default settings.Object
publishGenerators(CharSequence toolName, Runnable closure)
DslExtensionMethod
for publishing generated reports.Object
publishTMS(CharSequence toolName, CharSequence credentialsId)
DslExtensionMethod
for publishing report to test management system with default settings.Object
publishTMS(CharSequence toolName, CharSequence credentialsId, Runnable closure)
DslExtensionMethod
for publishing report to test management system.Object
publishTRF()
DslExtensionMethod
for publishing TRF reports with default settings.Object
publishTRF(Runnable closure)
DslExtensionMethod
for publishing TRF reports.Object
publishUNIT(CharSequence toolName)
DslExtensionMethod
for publishing UNIT reports with default settings.Object
publishUNIT(CharSequence toolName, Runnable closure)
DslExtensionMethod
for publishing UNIT reports.-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
checkToolInstallation
-
-
-
-
Method Detail
-
publishATX
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishATX(CharSequence atxName, Runnable closure)
DslExtensionMethod
for publishing ATX reports.- Parameters:
atxName
- the tool name identifying theATXInstallation
to be usedclosure
- the nested Groovy closure- Returns:
- the instance of a
ATXPublisher
-
publishATX
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishATX(CharSequence atxName)
DslExtensionMethod
for publishing ATX reports with default settings.- Parameters:
atxName
- the tool name identifying theATXInstallation
to be used- Returns:
- the instance of a
ATXPublisher
-
publishUNIT
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishUNIT(CharSequence toolName, Runnable closure)
DslExtensionMethod
for publishing UNIT reports.- Parameters:
toolName
- the tool name identifying theETInstallation
to be usedclosure
- the nested Groovy closure- Returns:
- the instance of a
JUnitPublisher
-
publishUNIT
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishUNIT(CharSequence toolName)
DslExtensionMethod
for publishing UNIT reports with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to be used- Returns:
- the instance of a
JUnitPublisher
-
publishTRF
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishTRF(Runnable closure)
DslExtensionMethod
for publishing TRF reports.- Parameters:
closure
- the nested Groovy closure- Returns:
- the instance of a
TRFPublisher
-
publishTRF
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishTRF()
DslExtensionMethod
for publishing TRF reports with default settings.- Returns:
- the instance of a
TRFPublisher
-
publishETLogs
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishETLogs(Runnable closure)
DslExtensionMethod
for publishing ecu.test logs.- Parameters:
closure
- the nested Groovy closure- Returns:
- the instance of a
ETLogPublisher
-
publishETLogs
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishETLogs()
DslExtensionMethod
for publishing ecu.test logs with default settings.- Returns:
- the instance of a
ETLogPublisher
-
publishGenerators
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishGenerators(CharSequence toolName, Runnable closure)
DslExtensionMethod
for publishing generated reports.- Parameters:
toolName
- the tool name identifying theETInstallation
to be usedclosure
- the nested Groovy closure- Returns:
- the instance of a
ReportGeneratorPublisher
-
publishGenerators
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishGenerators(CharSequence toolName)
DslExtensionMethod
for publishing generated reports with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to be used- Returns:
- the instance of a
ReportGeneratorPublisher
-
publishTMS
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishTMS(CharSequence toolName, CharSequence credentialsId, Runnable closure)
DslExtensionMethod
for publishing report to test management system.- Parameters:
toolName
- the tool name identifying theETInstallation
to be usedcredentialsId
- the credentials idclosure
- the nested Groovy closure- Returns:
- the instance of a
TMSPublisher
-
publishTMS
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishTMS(CharSequence toolName, CharSequence credentialsId)
DslExtensionMethod
for publishing report to test management system with default settings.- Parameters:
toolName
- the tool name identifying theETInstallation
to be usedcredentialsId
- the credentials id- Returns:
- the instance of a
ReportGeneratorPublisher
-
-