public class EasyQAServer extends Object
| Constructor and Description |
|---|
EasyQAServer(String serverUrl) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
createIssue(String project_token,
String auth_token,
String title,
String description)
Method for creating an issue without attachments on Issues page within your project in EasyQA
|
Integer |
createIssueWithAttachment(String project_token,
String auth_token,
String title,
String description,
ArrayList<File> files)
Method for creating an issue without attachments on Issues page within your project in EasyQA
|
String |
getErrorMessage(InputStream errorStream)
Getting an error message when a build is failed
|
org.jvnet.hudson.test.Issue |
getIssue(User user,
String issueId,
String project_token) |
void |
getProjects(User user) |
User |
getUserByEmail(User user,
String email) |
User |
login(String project_token,
String email,
String password)
Method for logging into EasyQA and generate auth_token
|
public EasyQAServer(String serverUrl)
public String getErrorMessage(InputStream errorStream) throws IOException
errorStream - input stream while build failsIOExceptionpublic Integer createIssue(String project_token, String auth_token, String title, String description) throws IOException
project_token - of your project in EasyQA. You can generate it on Integrations pageauth_token - your authorization token in EasyQAtitle - a short description of your issuedescription - a description of your issueIOException - for incorrect parsing of the server responsepublic Integer createIssueWithAttachment(String project_token, String auth_token, String title, String description, ArrayList<File> files) throws IOException
project_token - of your project in EasyQA. You can generate it on Integrations pageauth_token - your authorization token in EasyQAtitle - a short description of your issuedescription - a description of your issuefiles - a list of files for attachmentsIOException - for incorrect parsing of the server responsepublic void getProjects(User user)
public User login(String project_token, String email, String password)
project_token - of your project in EasyQA. You can generate it on Integrations pageemail - your registered email in EasyQApassword - your registered password in EasyQACopyright © 2016–2017. All rights reserved.