Class PropeloPluginImpl
java.lang.Object
hudson.Plugin
io.jenkins.plugins.propelo.job_reporter.plugins.PropeloPluginImpl
- All Implemented Interfaces:
Saveable
,org.kohsuke.stapler.StaplerProxy
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.Plugin
Plugin.DummyImpl
-
Field Summary
Fields inherited from class hudson.Plugin
SKIP_PERMISSION_CHECK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckBullseyeXmlResultPaths
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String bullseyeXmlResultPaths) doCheckJenkinsBaseUrl
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String jenkinsBaseUrl) doCheckJenkinsInstanceName
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String jenkinsInstanceName) doCheckJenkinsUserName
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String jenkinsUserName) doCheckJenkinsUserToken
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, Secret jenkinsUserToken) doCheckLevelOpsApiKey
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, Secret levelOpsApiKey) doCheckLevelOpsPluginPath
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String path) doCheckLevelOpsStatus
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String levelOpsStatus) doCheckMonitoringSchedule
(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, String schedule) long
long
static PropeloPluginImpl
Get the Propelo plugin path as entered by the user.boolean
boolean
performBlueOceanRestValidation
(String jenkinsBaseUrl, String jenkinsUserName, String jenkinsUserToken, boolean baseUrlValidation, boolean userNameValidation, boolean userTokenValidation) void
setMigrated
(Boolean migrated) void
start()
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, getTarget, getWrapper, load, postInitialize, save, setServletContext, stop
-
Field Details
-
PLUGIN_SHORT_NAME
- See Also:
-
isRegistered
-
-
Constructor Details
-
PropeloPluginImpl
public PropeloPluginImpl()
-
-
Method Details
-
getMigrated
-
setMigrated
-
start
-
getInstance
-
getHudsonHome
-
getJenkinsBaseUrl
-
getLevelOpsApiKey
-
getApplicationType
-
getLevelOpsPluginPath
Get the Propelo plugin path as entered by the user. May contain environment variables. If you need a path that can be used as is (env. vars expanded), please use @link{getExpandedLevelOpsPluginPath}.- Returns:
- the path as entered by the user.
-
getExpandedLevelOpsPluginPath
- Returns:
- the levelOpsPluginPath path with possibly contained environment variables expanded.
-
getJenkinsStatus
-
getConfigUpdatedAt
public long getConfigUpdatedAt() -
getHeartbeatDuration
public long getHeartbeatDuration() -
getExpandedLevelOpsPluginDir
-
isRegistered
-
isExpandedLevelOpsPluginPathNullOrEmpty
public boolean isExpandedLevelOpsPluginPathNullOrEmpty() -
getReportsDirectory
-
getPluginVersionString
-
getDataDirectory
-
getDataDirectoryWithVersion
-
getDataDirectoryWithRotation
-
getJenkinsUserName
-
getJenkinsUserToken
-
getBullseyeXmlResultPaths
-
isTrustAllCertificates
public boolean isTrustAllCertificates() -
getProductIds
-
getProductIdsList
-
getJenkinsInstanceName
-
doCheckLevelOpsApiKey
@POST public FormValidation doCheckLevelOpsApiKey(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") Secret levelOpsApiKey) -
doCheckLevelOpsStatus
public FormValidation doCheckLevelOpsStatus(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String levelOpsStatus) -
doCheckMonitoringSchedule
public FormValidation doCheckMonitoringSchedule(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String schedule) -
performBlueOceanRestValidation
@POST public FormValidation performBlueOceanRestValidation(String jenkinsBaseUrl, String jenkinsUserName, String jenkinsUserToken, boolean baseUrlValidation, boolean userNameValidation, boolean userTokenValidation) -
doCheckJenkinsBaseUrl
@POST public FormValidation doCheckJenkinsBaseUrl(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String jenkinsBaseUrl) -
doCheckJenkinsUserName
@POST public FormValidation doCheckJenkinsUserName(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String jenkinsUserName) -
doCheckJenkinsUserToken
@POST public FormValidation doCheckJenkinsUserToken(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") Secret jenkinsUserToken) -
doCheckJenkinsInstanceName
public FormValidation doCheckJenkinsInstanceName(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String jenkinsInstanceName) -
doCheckLevelOpsPluginPath
@POST public FormValidation doCheckLevelOpsPluginPath(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String path) -
doCheckBullseyeXmlResultPaths
public FormValidation doCheckBullseyeXmlResultPaths(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String bullseyeXmlResultPaths)
-