public class TowerConnector extends Object
Constructor and Description |
---|
TowerConnector(String url,
String username,
String password) |
TowerConnector(String url,
String username,
String password,
Boolean trustAllCerts) |
Modifier and Type | Method and Description |
---|---|
boolean |
isJobCommpleted(int jobID) |
boolean |
isJobFailed(int jobID) |
void |
logJobEvents(int jobID,
PrintStream jenkinsLogger,
boolean removeColor) |
void |
setDebug(boolean debug) |
void |
setTrustAllCerts(boolean trustAllCerts) |
int |
submitJob(String jobTemplate,
String extraVars,
String limit,
String jobTags,
String inventory,
String credential) |
void |
testConnection() |
public void setTrustAllCerts(boolean trustAllCerts)
public void setDebug(boolean debug)
public void testConnection() throws AnsibleTowerException
AnsibleTowerException
public int submitJob(String jobTemplate, String extraVars, String limit, String jobTags, String inventory, String credential) throws AnsibleTowerException
AnsibleTowerException
public boolean isJobCommpleted(int jobID) throws AnsibleTowerException
AnsibleTowerException
public void logJobEvents(int jobID, PrintStream jenkinsLogger, boolean removeColor) throws AnsibleTowerException
AnsibleTowerException
public boolean isJobFailed(int jobID) throws AnsibleTowerException
AnsibleTowerException
Copyright © 2016–2017. All rights reserved.