Class AnsibleTowerRunner
java.lang.Object
org.jenkinsci.plugins.ansible_tower.AnsibleTowerRunner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelJob(PrintStream logger) booleancancelProjectSync(PrintStream logger, TowerProjectSync projectSync) voidgetJobLogs(String importTowerLogs, PrintStream logger) booleanprojectRevision(PrintStream logger, String towerServer, String towerCredentialsId, String projectName, String revision, boolean verbose, EnvVars envVars, FilePath ws, Run<?, ?> run, Properties towerResults) booleanprojectSync(PrintStream logger, String towerServer, String towerCredentialsId, String projectName, boolean verbose, boolean importTowerLogs, boolean removeColor, EnvVars envVars, FilePath ws, Run<?, ?> run, Properties towerResults, boolean async) booleanrunJobTemplate(PrintStream logger, String towerServer, String towerCredentialsId, String jobTemplate, String jobType, String extraVars, String limit, String jobTags, String skipJobTags, String inventory, String credential, String scmBranch, boolean verbose, String importTowerLogs, boolean removeColor, EnvVars envVars, String templateType, boolean importWorkflowChildLogs, FilePath ws, Run<?, ?> run, Properties towerResults) booleanrunJobTemplate(PrintStream logger, String towerServer, String towerCredentialsId, String jobTemplate, String jobType, String extraVars, String limit, String jobTags, String skipJobTags, String inventory, String credential, String scmBranch, boolean verbose, String importTowerLogs, boolean removeColor, EnvVars envVars, String templateType, boolean importWorkflowChildLogs, FilePath ws, Run<?, ?> run, Properties towerResults, boolean async)
-
Constructor Details
-
AnsibleTowerRunner
public AnsibleTowerRunner()
-
-
Method Details
-
getLastFailureMessage
-
runJobTemplate
public boolean runJobTemplate(PrintStream logger, String towerServer, String towerCredentialsId, String jobTemplate, String jobType, String extraVars, String limit, String jobTags, String skipJobTags, String inventory, String credential, String scmBranch, boolean verbose, String importTowerLogs, boolean removeColor, EnvVars envVars, String templateType, boolean importWorkflowChildLogs, FilePath ws, Run<?, ?> run, Properties towerResults) -
runJobTemplate
public boolean runJobTemplate(PrintStream logger, String towerServer, String towerCredentialsId, String jobTemplate, String jobType, String extraVars, String limit, String jobTags, String skipJobTags, String inventory, String credential, String scmBranch, boolean verbose, String importTowerLogs, boolean removeColor, EnvVars envVars, String templateType, boolean importWorkflowChildLogs, FilePath ws, Run<?, ?> run, Properties towerResults, boolean async) -
getJobLogs
- Throws:
AnsibleTowerException
-
cancelJob
-
cancelProjectSync
-
projectSync
public boolean projectSync(PrintStream logger, String towerServer, String towerCredentialsId, String projectName, boolean verbose, boolean importTowerLogs, boolean removeColor, EnvVars envVars, FilePath ws, Run<?, ?> run, Properties towerResults, boolean async) -
projectRevision
public boolean projectRevision(PrintStream logger, String towerServer, String towerCredentialsId, String projectName, String revision, boolean verbose, EnvVars envVars, FilePath ws, Run<?, ?> run, Properties towerResults)
-