Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mayor Refactor - Compatibility with new Bamboo API and report improvements #270

Merged
merged 16 commits into from
Feb 6, 2023

Conversation

lararojasmr
Copy link
Contributor

This PR is a big refactor for all plugin it's fully tested in a bamboo evaluation environment and offer complete compatibility with the new API. Several bugs were solved in this version, and it's not compatible with the last release so I propose version 2.0.

The logo is customizable, the Allure Report Title is set by the plugin, and the report is exportable to a zip file. The history is generated properly, and the historical links work fine. Those are some of the changes that I made.

Details in commits details.

> Historical Fixes
> Allure binary download, unzip, and so on was updated
> All libraries was updated to newer versions
> Removed the error when you add the allure task to any plan (only a log message is shown)

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
…ckslashes together when filePath is concatenated

> AllureBuildCompleteAction: Fixing Report URL in the executor.json file.
> AllureCommandLineSupport: Increasing timeout to 5 minutes
> AllureReportServlet: Rollback URL Pattern

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
…so on).

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
> Bug: When you try to uncheck an option from Bamboo UI the option is not saved.
> Download Util class we created to download logo and allure binary
> The deprecated logo was changed due to it being confused. (It is not deprecated, it is just not necessary)
> The task description was changed
> Bug: If you add an allure task to your plan the build fails due to API incompatibility

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
… next execution.

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
> Allure removed from the title. (it's not customizable)
> A link was created to download the report for evidence in other systems.
> The logo can have other types not only SVG.
> Fix some dependencies conflicts

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
@lararojasmr
Copy link
Contributor Author

I need to create a new fork and pull request because I didn't sign my commits. Thanks!

@lararojasmr
Copy link
Contributor Author

@eroshenkoam please could you help me with this PR? Thanks!

@lararojasmr
Copy link
Contributor Author

Hi @baev, thanks to execute the required build but, it's failing when it try to download a dependency. I am not able to reproduce that issue on my machine, I can generate a jar properly, using atlas-package after doing atlas-clean.

@lararojasmr
Copy link
Contributor Author

The bin that I generated: https://drive.google.com/file/d/1SyylGaE5-ZovT18NJ5KwJ55gS63qWUBp/view?usp=sharing

Command used: atlas-package

@cheshi-mantu
Copy link

@lararojasmr hello sir,
thanks a lot for your efforts.
We've added the review of your PR to the plans and started executing the review/.

@cheshi-mantu cheshi-mantu removed the request for review from eroshenkoam September 5, 2022 13:39
@cheshi-mantu
Copy link

@lararojasmr Manuel, could you please check your email?

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@lararojasmr
Copy link
Contributor Author

@lararojasmr Manuel, could you please check your email?

Thanks @cheshi-mantu. I'll make these changes, sorry I have been with a lot of work these days.

@cheshi-mantu
Copy link

@lararojasmr Hi Manuel,
have you had a chance to review?
thanks

@lararojasmr
Copy link
Contributor Author

lararojasmr commented Nov 28, 2022 via email

@lararojasmr
Copy link
Contributor Author

Hi, I'm working to fix all your comments. Sorry for the delay!

lararojasmr and others added 5 commits January 10, 2023 19:19
> amps.version to 8.0.3-89c970d65

Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
Signed-off-by: Manuel Lara <lararojas.mr@gmail.com>
@lararojasmr
Copy link
Contributor Author

@cheshi-mantu it's ready to merge!

@lararojasmr
Copy link
Contributor Author

@vbragin have you had a chance the updates?

@vbragin vbragin merged commit ca8e2a8 into allure-framework:master Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants