A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/allure-framework/allure-bamboo/commit/b5cce76e528a281f4afae4e6881a21b3f932888f below:

fix string utils class (#339) · allure-framework/allure-bamboo@b5cce76 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+4

-4

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+4

-4

lines changed Original file line number Diff line number Diff line change

@@ -6,7 +6,7 @@

6 6

<modelVersion>4.0.0</modelVersion>

7 7

<groupId>io.qameta.allure</groupId>

8 8

<artifactId>allure-bamboo</artifactId>

9 -

<version>1.17.0-SNAPSHOT</version>

9 +

<version>1.18.0-SNAPSHOT</version>

10 10

<name>Allure for Bamboo</name>

11 11

<description>Allure reports right in deployment plans in Bamboo</description>

12 12

<packaging>atlassian-plugin</packaging>

Original file line number Diff line number Diff line change

@@ -22,7 +22,7 @@

22 22

import static io.qameta.allure.bamboo.AllureConstants.ALLURE_BUILD_REPORT_FAILURE_DETAILS;

23 23

import static io.qameta.allure.bamboo.AllureConstants.ALLURE_BUILD_REPORT_SUCCESS;

24 24

import static java.lang.Boolean.parseBoolean;

25 -

import static org.sonatype.aether.util.StringUtils.isEmpty;

25 +

import static org.apache.commons.lang3.StringUtils.isEmpty;

26 26 27 27

class AllureBuildResult implements Serializable {

28 28

private final boolean success;

Original file line number Diff line number Diff line change

@@ -19,6 +19,7 @@

19 19

import com.atlassian.bamboo.resultsummary.ResultsSummary;

20 20

import com.atlassian.bamboo.resultsummary.ResultsSummaryManager;

21 21

import org.apache.commons.io.IOUtils;

22 +

import org.apache.commons.lang3.StringUtils;

22 23

import org.slf4j.Logger;

23 24

import org.slf4j.LoggerFactory;

24 25

@@ -41,7 +42,6 @@

41 42

import static com.atlassian.bamboo.plan.PlanKeys.getPlanResultKey;

42 43

import static io.qameta.allure.bamboo.AllureBuildResult.fromCustomData;

43 44

import static java.lang.Integer.parseInt;

44 -

import static org.sonatype.aether.util.StringUtils.isEmpty;

45 45 46 46

public class AllureReportServlet extends HttpServlet {

47 47

@@ -149,7 +149,7 @@ private boolean wasUploadSuccess(final HttpServletResponse response,

149 149 150 150

private void uploadResultWasNotSuccess(final HttpServletResponse response,

151 151

final AllureBuildResult uploadResult) {

152 -

final String errorMessage = isEmpty(uploadResult.getFailureDetails())

152 +

final String errorMessage = StringUtils.isEmpty(uploadResult.getFailureDetails())

153 153

? "Unknown error has occurred during Allure Build. Please refer the server logs for details."

154 154

: "Something went wrong with Allure Report generation. Here are some details: \n"

155 155

+ uploadResult.getFailureDetails();

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4