Class NowSecurePlugin

All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep, SimpleBuildStep

public class NowSecurePlugin extends Builder implements SimpleBuildStep
  • Constructor Details

    • NowSecurePlugin

      @DataBoundConstructor public NowSecurePlugin(String binaryFilePath, String group, String tokenCredentialId)
  • Method Details

    • getStringProperty

      public String getStringProperty(Computer computer, String propName) throws AbortException, InterruptedException, IOException
      Throws:
      AbortException
      InterruptedException
      IOException
    • perform

      public void perform(Run<?,?> run, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • setAnalysisType

      @DataBoundSetter public void setAnalysisType(AnalysisType analysisType)
    • setLogLevel

      @DataBoundSetter public void setLogLevel(LogLevel logLevel)
    • setArtifactDir

      @DataBoundSetter public void setArtifactDir(String artifactDir)
    • setApiHost

      @DataBoundSetter public void setApiHost(String apiHost)
    • setUiHost

      @DataBoundSetter public void setUiHost(String uiHost)
    • setNowsecureCIVersion

      @DataBoundSetter public void setNowsecureCIVersion(String nowsecureCIVersion)
    • setMinimumScore

      @DataBoundSetter public void setMinimumScore(int minimumScore)
    • setPollingDurationMinutes

      @DataBoundSetter public void setPollingDurationMinutes(int pollingDurationMinutes)
    • getBinaryFilePath

      public String getBinaryFilePath()
    • getGroup

      public String getGroup()
    • getTokenCredentialId

      public String getTokenCredentialId()
    • getArtifactDir

      public String getArtifactDir()
    • getApiHost

      public String getApiHost()
    • getUiHost

      public String getUiHost()
    • getNowsecureCIVersion

      public String getNowsecureCIVersion()
    • getLogLevel

      public LogLevel getLogLevel()
    • getAnalysisType

      public AnalysisType getAnalysisType()
    • getMinimumScore

      public int getMinimumScore()
    • getPollingDurationMinutes

      public int getPollingDurationMinutes()