Class ProjectAutomatorUtils
- java.lang.Object
-
- io.jenkins.plugins.deployintegrationserver.ProjectAutomatorUtils
-
public class ProjectAutomatorUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ProjectAutomatorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateFile(Document xmlDoc, FilePath outputDirectory)static voiddeleteFile(FilePath fileDirectory)static DocumentgenerateDocument(String singleTargetAliases, String groupTargetAliases, String deployerHost, String deployerPort, String deployerUsername, String deployerPassword, String repositoryAlias, String repositoryDirectory, String[] composites, String projectName, String deploymentSetName, String deploymentMapName, String deploymentCandidateName)static intrunProjectAutomatorExecutable(String operatingSystem, FilePath deployerHomeDirectory, FilePath projectAutomatorFileDirectory, Launcher launcher, TaskListener listener)
-
-
-
Method Detail
-
generateDocument
public static Document generateDocument(String singleTargetAliases, String groupTargetAliases, String deployerHost, String deployerPort, String deployerUsername, String deployerPassword, String repositoryAlias, String repositoryDirectory, String[] composites, String projectName, String deploymentSetName, String deploymentMapName, String deploymentCandidateName) throws ParserConfigurationException
- Throws:
ParserConfigurationException
-
createFile
public static void createFile(Document xmlDoc, FilePath outputDirectory) throws TransformerConfigurationException, FileNotFoundException, TransformerException, IOException, InterruptedException
-
deleteFile
public static void deleteFile(FilePath fileDirectory) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
runProjectAutomatorExecutable
public static int runProjectAutomatorExecutable(String operatingSystem, FilePath deployerHomeDirectory, FilePath projectAutomatorFileDirectory, Launcher launcher, TaskListener listener) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
-