download(final URL url,
final Path target) throws IOException {
- final URLConnection connection = url.openConnection();
- connection.setConnectTimeout(CONN_TIMEOUT_MS);
- connection.setReadTimeout(DOWNLOAD_TIMEOUT_MS);
- connection.setRequestProperty("Connection", "close");
- connection.setRequestProperty("Pragma", "no-cache");
- ((HttpURLConnection) connection).setInstanceFollowRedirects(true);
- connection.connect();
- try (InputStream input = connection.getInputStream()) {
- Files.copy(input, target, StandardCopyOption.REPLACE_EXISTING);
- return Optional.of(target);
- }
+ final URLConnection connection = url.openConnection();
+ connection.setConnectTimeout(CONN_TIMEOUT_MS);
+ connection.setReadTimeout(DOWNLOAD_TIMEOUT_MS);
+ connection.setRequestProperty("Connection", "close");
+ connection.setRequestProperty("Pragma", "no-cache");
+ ((HttpURLConnection) connection).setInstanceFollowRedirects(true);
+ connection.connect();
+ try (InputStream input = connection.getInputStream()) {
+ Files.copy(input, target, StandardCopyOption.REPLACE_EXISTING);
+ return Optional.of(target);
+ }
}
}
diff --git a/src/main/resources/allure-bamboo.properties b/src/main/resources/allure-bamboo.properties
index 3fe8750..8382a79 100644
--- a/src/main/resources/allure-bamboo.properties
+++ b/src/main/resources/allure-bamboo.properties
@@ -1,32 +1,28 @@
-allureplugin.policy = Generate Report
-allureplugin.policy.description = Choose condition when report should be built
-allureplugin.policy.error = Select for which builds to generate report
-allureplugin.policy.all = For all builds
-allureplugin.policy.with_problems = For builds with problems
-allureplugin.policy.failed = For failed builds
-
-allure.result.directory.label = Allure result directory
-allure.result.directory.description = Specify the directory with allure results relative from build directory. \
+allureplugin.policy=Generate Report
+allureplugin.policy.description=Choose condition when report should be built
+allureplugin.policy.error=Select for which builds to generate report
+allureplugin.policy.all=For all builds
+allureplugin.policy.with_problems=For builds with problems
+allureplugin.policy.failed=For failed builds
+allure.result.directory.label=Allure result directory
+allure.result.directory.description=Specify the directory with allure results relative from build directory. \
An example allure-results/
-allure.report.path.prefix.label = Report artifact subdirectory
-allure.report.path.prefix.description = The subdirectory (or subdirectories) to put generated report into. \
+allure.report.path.prefix.label=Report artifact subdirectory
+allure.report.path.prefix.description=The subdirectory (or subdirectories) to put generated report into. \
An example allure-report/
-allure.issues.tracker.pattern.label = Issue tracker pattern
-allure.issues.tracker.pattern.description = \
+allure.issues.tracker.pattern.label=Issue tracker pattern
+allure.issues.tracker.pattern.description=\
Specify the issue tracker pattern. E.g. http://bugtracker.yourcompany.com/issues/%s \
For more information you can see this wiki page.
-allure.tests.management.pattern.label = Test management pattern
-allure.tests.management.pattern.description = \
+allure.tests.management.pattern.label=Test management pattern
+allure.tests.management.pattern.description=\
Specify the test management system pattern. E.g. http://tms.yourcompany.com/tests/%s \
For more information you can see this wiki page.
-
-allure.task.help.link = https://docs.qameta.io/allure/latest/#_bamboo
-allure.task.help.title = Go to Allure website!
-
-error.property.empty = The property value should not be empty
-error.path.absolute = The path should be relative
-error.address.placeholder = The pattern should contain exactly one placeholder <%s>
-
+allure.task.help.link=https://docs.qameta.io/allure/latest/#_bamboo
+allure.task.help.title=Go to Allure website!
+error.property.empty=The property value should not be empty
+error.path.absolute=The path should be relative
+error.address.placeholder=The pattern should contain exactly one placeholder <%s>
webitems.system.admin.build.allureReport=Allure Report
admin.allureReportConfig.edit.title=Configure Allure Reporting
admin.allureReportConfig.description=
@@ -44,6 +40,5 @@ allure.config.local.storage.label=Allure local storage
allure.config.local.storage.label.required=Allure local storage is required
build.allure.title=Allure Report
buildResult.allure.title=Allure Report
-
allure.config.logo.enabled.label=Enable report custom logo
-custom.allure.logo.url.label=Custom logo URL (svg)
+custom.allure.logo.url.label=Custom logo
diff --git a/src/main/resources/templates/editAllureBambooConfiguration.ftl b/src/main/resources/templates/editAllureBambooConfiguration.ftl
index a4bbe48..a0ab169 100644
--- a/src/main/resources/templates/editAllureBambooConfiguration.ftl
+++ b/src/main/resources/templates/editAllureBambooConfiguration.ftl
@@ -9,6 +9,6 @@
[@ww.textfield labelKey="custom.allure.artifact.name.label" name="custom.allure.artifact.name" required="false"/]
- [@ww.textfield labelKey="custom.allure.logo.url.label" name="custom.allure.logo.url" required="false"/]
+ [@ww.textarea labelKey="custom.allure.logo.url.label" name="custom.allure.logo.url" required="false"/]
-[/@ui.bambooSection]
\ No newline at end of file
+[/@ui.bambooSection]
diff --git a/src/main/resources/templates/editAllureReportConfig.ftl b/src/main/resources/templates/editAllureReportConfig.ftl
index f93e505..8b9ff1a 100644
--- a/src/main/resources/templates/editAllureReportConfig.ftl
+++ b/src/main/resources/templates/editAllureReportConfig.ftl
@@ -3,30 +3,30 @@
- [@ww.text name='allure.plugin.title' /]
+ [@ww.text name='allure.plugin.title' /]
- [@ww.text name='allure.plugin.title' /]
+[@ww.text name='allure.plugin.title' /]
- [@ww.text name='admin.allureReportConfig.description' /]
+[@ww.text name='admin.allureReportConfig.description' /]
- [@ww.form action="saveAllureReportConfig"
- id="saveAllureReportConfigForm"
- submitLabelKey='global.buttons.update'
- titleKey='admin.allureReportConfig.edit.title'
- cancelUri='/admin/editAllureReportConfig.action'
- ]
- [@ww.checkbox labelKey='allure.config.download.enabled.label' name='custom.allure.config.download.enabled' toggle='true' /]
+[@ww.form action="saveAllureReportConfig"
+id="saveAllureReportConfigForm"
+submitLabelKey='global.buttons.update'
+titleKey='admin.allureReportConfig.edit.title'
+cancelUri='/admin/editAllureReportConfig.action'
+]
+ [@ww.checkbox labelKey='allure.config.download.enabled.label' name='custom.allure.config.download.enabled' toggle='true' /]
- [@ww.checkbox labelKey='allure.config.logo.enabled.label' name='custom.allure.config.logo.enabled' toggle='true' /]
+ [@ww.checkbox labelKey='allure.config.logo.enabled.label' name='custom.allure.config.logo.enabled' toggle='true' /]
- [@ww.checkbox labelKey='allure.config.enabled.default.label' name='custom.allure.config.enabled.default' toggle='true' /]
+ [@ww.checkbox labelKey='allure.config.enabled.default.label' name='custom.allure.config.enabled.default' toggle='true' /]
- [@ww.textfield labelKey="allure.config.download.url.label" name="custom.allure.config.download.url" required="true"/]
+ [@ww.textfield labelKey="allure.config.download.url.label" name="custom.allure.config.download.url" required="true"/]
- [@ww.textfield labelKey="allure.config.local.storage.label" name="custom.allure.config.local.storage" required="true"/]
- [/@ww.form]
+ [@ww.textfield labelKey="allure.config.local.storage.label" name="custom.allure.config.local.storage" required="true"/]
+[/@ww.form]
-
\ No newline at end of file
+