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 ClassesModifier and TypeClassDescriptionstatic classContextclass providing ATX publisher methods for the nested DSL context.static classContextclass providing ecu.test log publisher methods for the nested DSL context.static classContextclass providing report generator publisher methods for the nested DSL context.static classContextclass providing TMS publisher methods for the nested DSL context.static classContextclass providing TRF publisher methods for the nested DSL context.classContextclass providing UNIT publisher methods for the nested DSL context.Nested classes/interfaces inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
AbstractReportPublisherDslExtension.AbstractReportContextNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
validatorFields 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 -
Method Summary
Modifier and TypeMethodDescriptionpublishATX(CharSequence atxName) DslExtensionMethodfor publishing ATX reports with default settings.publishATX(CharSequence atxName, Runnable closure) DslExtensionMethodfor publishing ATX reports.DslExtensionMethodfor publishing ecu.test logs with default settings.publishETLogs(Runnable closure) DslExtensionMethodfor publishing ecu.test logs.publishGenerators(CharSequence toolName) DslExtensionMethodfor publishing generated reports with default settings.publishGenerators(CharSequence toolName, Runnable closure) DslExtensionMethodfor publishing generated reports.publishTMS(CharSequence toolName, CharSequence credentialsId) DslExtensionMethodfor publishing report to test management system with default settings.publishTMS(CharSequence toolName, CharSequence credentialsId, Runnable closure) DslExtensionMethodfor publishing report to test management system.DslExtensionMethodfor publishing TRF reports with default settings.publishTRF(Runnable closure) DslExtensionMethodfor publishing TRF reports.publishUNIT(CharSequence toolName) DslExtensionMethodfor publishing UNIT reports with default settings.publishUNIT(CharSequence toolName, Runnable closure) DslExtensionMethodfor publishing UNIT reports.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.jobdsl.AbstractReportPublisherDslExtension
checkToolInstallationMethods inherited from class javaposse.jobdsl.plugin.ContextExtensionPoint
all, executeInContext, notifyItemCreated, notifyItemUpdated
-
Constructor Details
-
ReportPublisherDslExtension
public ReportPublisherDslExtension()
-
-
Method Details
-
publishATX
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishATX(CharSequence atxName, Runnable closure) DslExtensionMethodfor publishing ATX reports.- Parameters:
atxName- the tool name identifying theATXInstallationto 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) DslExtensionMethodfor publishing ATX reports with default settings.- Parameters:
atxName- the tool name identifying theATXInstallationto 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) DslExtensionMethodfor publishing UNIT reports.- Parameters:
toolName- the tool name identifying theETInstallationto 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) DslExtensionMethodfor publishing UNIT reports with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto be used- Returns:
- the instance of a
JUnitPublisher
-
publishTRF
@DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.publisher.PublisherContext.class) public Object publishTRF(Runnable closure) DslExtensionMethodfor 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()DslExtensionMethodfor 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) DslExtensionMethodfor 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()DslExtensionMethodfor 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) DslExtensionMethodfor publishing generated reports.- Parameters:
toolName- the tool name identifying theETInstallationto 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) DslExtensionMethodfor publishing generated reports with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto 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) DslExtensionMethodfor publishing report to test management system.- Parameters:
toolName- the tool name identifying theETInstallationto 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) DslExtensionMethodfor publishing report to test management system with default settings.- Parameters:
toolName- the tool name identifying theETInstallationto be usedcredentialsId- the credentials id- Returns:
- the instance of a
ReportGeneratorPublisher
-