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

[JENKINS-68904] More stylelint fixes #6792

Merged
merged 7 commits into from
Jul 7, 2022

Conversation

NotMyFault
Copy link
Member

@NotMyFault NotMyFault commented Jul 6, 2022

Addresses the stylelint part of JENKINS-68904, ESLint is still up to do.
Stylelint errors are no longer shifted to warnings, new introduced issues will fail the CI build.

Proposed changelog entries

  • Entry 1: Issue, Human-readable Text
  • ...

Proposed upgrade guidelines

N/A

Submitter checklist

  • (If applicable) Jira issue is well described
  • Changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developer, depending on the change) and are in the imperative mood. Examples
    • Fill-in the Proposed changelog entries section only if there are breaking changes or other changes which may require extra steps from users during the upgrade
  • Appropriate autotests or explanation to why this change has no tests
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadoc, as appropriate.
  • New deprecations are annotated with @Deprecated(since = "TODO") or @Deprecated(forRemoval = true, since = "TODO") if applicable.
  • For dependency updates: links to external changelogs and, if possible, full diffs

Desired reviewers

@jenkinsci/sig-ux

Maintainer checklist

Before the changes are marked as ready-for-merge:

  • There are at least 2 approvals for the pull request and no outstanding requests for change
  • Conversations in the pull request are over OR it is explicit that a reviewer does not block the change
  • Changelog entries in the PR title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood
  • Proper changelog labels are set so that the changelog can be generated automatically
  • If the change needs additional upgrade steps from users, upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the PR title. (example)
  • If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

@NotMyFault NotMyFault added the skip-changelog Should not be shown in the changelog label Jul 6, 2022
@NotMyFault NotMyFault requested a review from a team July 6, 2022 12:14
Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

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

Thanks for this, could you push a new issue to show the build failing please? and then revert.

@NotMyFault
Copy link
Member Author

NotMyFault commented Jul 6, 2022

Thanks for this, could you push a new issue to show the build failing please? and then revert.

Without modifying the lifecycle the build doesn't fail if errors are detected, but I'm not too sure if the latest commit is appropriate. According to ci.j it doesn't seem so.

Any recommendations? <phase>test</phase> is too weak to cause a build failure, based on the prior logs 🤔

Edit: Looks like I found something that works.

Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

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

Nice cleanup!

@NotMyFault
Copy link
Member Author

@timja The failure can be seen on https://ci.jenkins.io/job/Core/job/jenkins/job/PR-6792/6/consoleFull, I'm going ahead and revert the commit introducing it.

@NotMyFault NotMyFault requested a review from timja July 6, 2022 19:21
@timja timja added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Jul 6, 2022
@timja
Copy link
Member

timja commented Jul 6, 2022

This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.

Thanks!

@basil basil merged commit d9d951b into jenkinsci:master Jul 7, 2022
@NotMyFault NotMyFault deleted the style/master/more-linting branch July 7, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback skip-changelog Should not be shown in the changelog
Projects
None yet
3 participants