Class AxivionSuite

All Implemented Interfaces:
Describable<Tool>, Serializable

public final class AxivionSuite extends Tool
Provides a parser and customized messages for the Axivion Suite.
See Also:
  • Constructor Details

    • AxivionSuite

      @DataBoundConstructor public AxivionSuite()
      Creates a new instance of AxivionSuite.
  • Method Details

    • getBasedir

      public String getBasedir()
    • setBasedir

      @DataBoundSetter public void setBasedir(String basedir)
    • getProjectUrl

      public String getProjectUrl()
    • setProjectUrl

      @DataBoundSetter public void setProjectUrl(String projectUrl)
      Stapler setter for the projectUrl field. Verifies the url and encodes the path part e.g. whitespaces in project names. If the URL contains environment variables (e.g., ${VAR} or $VAR), they are preserved and will be expanded at runtime.
      Parameters:
      projectUrl - url to an Axivion dashboard project, may contain environment variables
    • getCredentialsId

      public String getCredentialsId()
    • setCredentialsId

      @DataBoundSetter public void setCredentialsId(String credentialsId)
    • getNamedFilter

      public String getNamedFilter()
    • setNamedFilter

      @DataBoundSetter public void setNamedFilter(String namedFilter)
    • isIgnoreSuppressedOrJustified

      public boolean isIgnoreSuppressedOrJustified()
    • setIgnoreSuppressedOrJustified

      @DataBoundSetter public void setIgnoreSuppressedOrJustified(boolean ignoreSuppressedOrJustified)
    • readResolve

      protected Object readResolve()
      Called after deserialization to retain backward compatibility.
      Overrides:
      readResolve in class Tool
      Returns:
      this
    • scan

      public edu.hm.hafner.analysis.Report scan(Run<?,?> run, FilePath workspace, Charset sourceCodeEncoding, io.jenkins.plugins.util.LogHandler logger) throws edu.hm.hafner.analysis.ParsingException, edu.hm.hafner.analysis.ParsingCanceledException
      Description copied from class: Tool
      Scans the results of a build for issues. This method is invoked on Jenkins master. I.e., if a tool wants to process some build results, it is required to run a MasterToSlaveCallable.
      Specified by:
      scan in class Tool
      Parameters:
      run - the build
      workspace - the workspace of the build
      sourceCodeEncoding - the encoding to use to read source files
      logger - the logger
      Returns:
      the created report
      Throws:
      edu.hm.hafner.analysis.ParsingException - signals that during parsing a non-recoverable error has been occurred
      edu.hm.hafner.analysis.ParsingCanceledException - signals that the user has aborted the parsing