Skip to content

Commit cbb7e0e

Browse files
committed
Add Karate support
1 parent 4df7d44 commit cbb7e0e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ uploadArchives {
7272
developer {
7373
id 'glib-briia'
7474
name 'Glib Briia'
75-
email 'glib.briia@assertthat.com'
75+
email 'glib@assertthat.com'
7676
}
7777
}
7878
}

src/main/groovy/FeaturesTask.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class FeaturesTask extends DefaultTask {
7171
proxyPassword,
7272
mode,
7373
jql,
74-
null);
74+
null)
7575
APIUtil apiUtil = new APIUtil(arguments.getProjectId(), arguments.getAccessKey(), arguments.getSecretKey(), arguments.getProxyURI(), arguments.getProxyUsername(), arguments.getProxyPassword())
7676
File inZip = apiUtil.download(new File(arguments.getOutputFolder()), mode, jql)
7777
File zip = new FileUtil().unpackArchive(inZip, new File(arguments.getOutputFolder()))

src/main/groovy/ReportTask.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ class ReportTask extends DefaultTask {
7777
null,
7878
null,
7979
type)
80-
APIUtil apiUtil = new APIUtil(arguments.getProjectId(), arguments.getAccessKey(), arguments.getSecretKey(), arguments.getProxyURI(), arguments.getProxyUsername(), arguments.getProxyPassword());
80+
APIUtil apiUtil = new APIUtil(arguments.getProjectId(), arguments.getAccessKey(), arguments.getSecretKey(), arguments.getProxyURI(), arguments.getProxyUsername(), arguments.getProxyPassword())
8181

82-
String[] files = new FileUtil().findJsonFiles(new File(arguments.getJsonReportFolder()), arguments.getJsonReportIncludePattern(), null);
83-
Long runid = -1L;
82+
String[] files = new FileUtil().findJsonFiles(new File(arguments.getJsonReportFolder()), arguments.getJsonReportIncludePattern(), null)
83+
Long runid = -1L
8484
for (String f : files) {
8585
try {
86-
runid = apiUtil.upload(runid, arguments.getRunName(), arguments.getJsonReportFolder() + f, type);
86+
runid = apiUtil.upload(runid, arguments.getRunName(), arguments.getJsonReportFolder() + f, type)
8787
} catch (IOException e) {
8888
throw new MojoExecutionException("Failed to upload report", e);
8989
} catch (JSONException e) {

0 commit comments

Comments
 (0)