Package io.jenkins.plugins.ksm
Class KsmCommon
- java.lang.Object
-
- io.jenkins.plugins.ksm.KsmCommon
-
public class KsmCommon extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
configCountKey
static String
configDescPrefix
static String
configPrefix
static String
errorPrefix
static String
sdkConfigEnvName
-
Constructor Summary
Constructors Constructor Description KsmCommon()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addCredentialToEnv(KsmCredential credential, EnvVars newEnvVars, EnvVars existingEnvVars)
static ListBoxModel
buildCredentialsIdListBox(Item item, String credentialsId)
static boolean
validFilePath(String fileStr)
static void
writeFileToWorkspace(FilePath workspace, String fileName, Object value)
-
-
-
Field Detail
-
errorPrefix
public static final String errorPrefix
- See Also:
- Constant Field Values
-
configPrefix
public static final String configPrefix
- See Also:
- Constant Field Values
-
sdkConfigEnvName
public static final String sdkConfigEnvName
- See Also:
- Constant Field Values
-
configDescPrefix
public static final String configDescPrefix
- See Also:
- Constant Field Values
-
configCountKey
public static final String configCountKey
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildCredentialsIdListBox
public static ListBoxModel buildCredentialsIdListBox(Item item, String credentialsId)
-
addCredentialToEnv
public static void addCredentialToEnv(KsmCredential credential, EnvVars newEnvVars, EnvVars existingEnvVars)
-
validFilePath
public static boolean validFilePath(String fileStr)
-
writeFileToWorkspace
public static void writeFileToWorkspace(FilePath workspace, String fileName, Object value) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-