Skip to content
New issue

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

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

Already on GitHub? # to your account

Enable 'Build has no changes' assertion in FreestyleJobTest #1572

Merged

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented May 21, 2024

Enable "Build has no changes" assertion in FreestyleJobTest

Assertion was disabled due to user interface change that has been modified in Jenkins 2.459 to again report when the build has no changes.

JENKINS-73168 fixes it in Jenkins 2.459.

Fixes #1548

This reverts part of commit 4d71d1b.

Testing done

Tested by running the modified test with JENKINS_WAR set to a copy of the 2.459 Jenkins war file.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

Assertion was disabled due to user interface change that has been modified
in Jenkins 2.459 to again report when the build has no changes.

https://issues.jenkins.io/browse/JENKINS-73168 fixes it in Jenkins 2.459.

jenkinsci#1548 is the
issue to remove the workaround.

Revert part of "Work around JENKINS-73034 (jenkinsci#1547)"

Tested by running the modified test with JENKINS_WAR set to a copy of the 2.459 Jenkins war file.

This reverts part of commit 4d71d1b.
@MarkEWaite MarkEWaite changed the title Enable 'Build has no changes assertion in FreestyleJobTest Enable 'Build has no changes' assertion in FreestyleJobTest May 21, 2024
@janfaracik
Copy link
Contributor

Thanks!

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.

Thanks for the PR!

@basil basil merged commit 7da8433 into jenkinsci:master May 21, 2024
24 checks passed
@MarkEWaite MarkEWaite deleted the remove-no-changes-label-workaround branch October 6, 2024 23:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove workaround in FreestyleJobTest#should_visit_build_with_permalink
3 participants