File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ class FeaturesTask extends DefaultTask {
4040 String accessKey = null
4141 @Input
4242 @Optional
43+ String token = null
44+ @Input
45+ @Optional
4346 String proxyURI = null
4447 @Input
4548 @Optional
@@ -76,6 +79,7 @@ class FeaturesTask extends DefaultTask {
7679 def downloadFeatures () {
7780 ArgumentsFeatures arguments = new ArgumentsFeatures (accessKey,
7881 secretKey,
82+ token,
7983 projectId,
8084 outputFolder,
8185 proxyURI,
@@ -92,6 +96,7 @@ class FeaturesTask extends DefaultTask {
9296 APIUtil apiUtil = new APIUtil (arguments. getProjectId(),
9397 arguments. getAccessKey(),
9498 arguments. getSecretKey(),
99+ arguments. getToken(),
95100 arguments. getProxyURI(),
96101 arguments. getProxyUsername(),
97102 arguments. getProxyPassword(),
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ class ReportTask extends DefaultTask {
4242 String accessKey = null
4343 @Input
4444 @Optional
45+ String token = null
46+ @Input
47+ @Optional
4548 String proxyURI = null
4649 @Input
4750 @Optional
@@ -78,6 +81,7 @@ class ReportTask extends DefaultTask {
7881 def submitReport () {
7982 ArgumentsReport arguments = new ArgumentsReport (accessKey,
8083 secretKey,
84+ token,
8185 projectId,
8286 runName,
8387 jsonReportFolder,
@@ -94,6 +98,7 @@ class ReportTask extends DefaultTask {
9498 APIUtil apiUtil = new APIUtil (arguments. getProjectId(),
9599 arguments. getAccessKey(),
96100 arguments. getSecretKey(),
101+ arguments. getToken(),
97102 arguments. getProxyURI(),
98103 arguments. getProxyUsername(),
99104 arguments. getProxyPassword(),
You can’t perform that action at this time.
0 commit comments