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

Apply spotless formatter after changes #1143

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Apply spotless formatter after changes #1143

merged 1 commit into from
Sep 14, 2020

Conversation

kaikreuzer
Copy link
Member

Related to openhab/openhab-addons#8401

Signed-off-by: Kai Kreuzer kai@openhab.org

Related to openhab/openhab-addons#8401

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's test if it fixes the sandbox build.

@wborn wborn merged commit bd3ec3e into 2.5.x Sep 14, 2020
@cweitkamp cweitkamp deleted the kaikreuzer-patch-1 branch September 14, 2020 08:39
@kaikreuzer
Copy link
Member Author

Looks much better, but for some reason the webui build failed when running spotless, see https://ci.openhab.org/view/Sandbox/job/sandbox-openhab2-release/1640/console.

Locally, I see no issue with that. Do you have any idea what might be wrong there?

@wborn
Copy link
Member

wborn commented Sep 14, 2020

Yes it's the 2.5.x branch for which spotless was never activated.
It only got added on the master branch with openhab/openhab-webui#240.

@kaikreuzer
Copy link
Member Author

Good point, I accidentally checked the master branch only.
I've created openhab/openhab-webui#335, which should hopefully address the issue.

@kaikreuzer
Copy link
Member Author

Hooray, it is green again: https://ci.openhab.org/job/sandbox-openhab2-release/1647/

@wborn
Copy link
Member

wborn commented Sep 17, 2020

That's great so we can deliver 2.5.9 on time and proceed with porting the add-ons!

Will this also commit the applied Spotless changes to the repo?

When the previous successful pre-Spotless build was still there, it looked like running the Spotless check goal in the new builds had a significant impact on the build time of all the "Prepare next version" stages.
That could be reduced by adding -Dspotless.check.skip=true to some of the Maven commands.

@wborn
Copy link
Member

wborn commented Sep 17, 2020

If I compare the stage views between openhab-release and sandbox-openhab2-release the increase seems less significant. It may also have been some Jenkins glitch.

@kaikreuzer
Copy link
Member Author

Will this also commit the applied Spotless changes to the repo?

I'd think so, yes. We will see with the 2.5.9 release :-)

@wborn
Copy link
Member

wborn commented Sep 23, 2020

The Jenkinsfile also needs to be updated on the master branch to be able to release OH3. Since it did not commit the changes to the repo, adding -Dspotless.check.skip=true would yield the same result but faster. ;-)

@kaikreuzer
Copy link
Member Author

I've created #1154 - let's see how well that works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants