Class OrcanosPublisherMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- dev.aherscu.qa.orcanos.publisher.maven.plugin.OrcanosPublisherMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="publish", threadSafe=true, defaultPhase=POST_INTEGRATION_TEST) public class OrcanosPublisherMojo extends org.apache.maven.plugin.AbstractMojo
Orcanospublish
goal should be configured as inplugin-config.xml
file used for testing.
-
-
Field Summary
Fields Modifier and Type Field Description protected Properties
additionalExecutionFields
protected int
connectTimeoutMs
protected String
filePattern
Groups to match in report file to be published as follows: absolute path to file execution status class name method name Currently, only the execution status is used.protected String
orcanosProjectId
protected URI
orcanosUrl
protected int
readTimeoutMs
protected String
reportFileExtension
Files having this extension will be scanned and uploaded if matched correctly byfilePattern
.protected File
reportsDirectory
protected int
retriesLimit
protected boolean
skip
protected String
tag
-
Constructor Summary
Constructors Constructor Description OrcanosPublisherMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
skip
@Parameter(property="orcanos.skip", defaultValue="false") protected boolean skip
-
reportsDirectory
@Parameter(defaultValue="${project.build.directory}/jgiven-reports/qa-html") protected File reportsDirectory
-
filePattern
@Parameter(defaultValue="(.*[\\\\|/])([^\\\\|/]+)-([^\\\\|/]+)-([^\\\\|/]+)$") protected String filePattern
Groups to match in report file to be published as follows:- absolute path to file
- execution status
- class name
- method name
-
reportFileExtension
@Parameter(defaultValue=".html") protected String reportFileExtension
Files having this extension will be scanned and uploaded if matched correctly byfilePattern
.
-
orcanosUrl
@Parameter(required=true) protected URI orcanosUrl
-
orcanosProjectId
@Parameter(required=true) protected String orcanosProjectId
-
connectTimeoutMs
@Parameter(defaultValue="10000") protected int connectTimeoutMs
-
readTimeoutMs
@Parameter(defaultValue="10000") protected int readTimeoutMs
-
retriesLimit
@Parameter(defaultValue="3") protected int retriesLimit
-
tag
@Parameter protected String tag
-
additionalExecutionFields
@Parameter protected Properties additionalExecutionFields
-
-