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

Backporting for 2.375.3 #7590

Merged
merged 3 commits into from
Jan 23, 2023

Conversation

NotMyFault
Copy link
Member

@NotMyFault NotMyFault commented Jan 17, 2023

Latest core version: jenkins-2.387

Fixed
-----

JENKINS-70209           Minor                   2.385
        Letter spacing should not be negative (regression in 2.340 + 2.350)
        regression
        https://issues.jenkins.io/browse/JENKINS-70209

JENKINS-70301           Minor                   2.386
        Resolve implied dependencies on WMI Windows Agent plugin
        https://issues.jenkins.io/browse/JENKINS-70301

JENKINS-70169           Minor                   2.385
        Missing breadcrumb in Console log view
        regression
        https://issues.jenkins.io/browse/JENKINS-70169

JENKINS-70240           Minor                   2.383
        Non-HTTP based UpdateCenter URLs cause exception in plugin manager
        regression
        https://issues.jenkins.io/browse/JENKINS-70240

@NotMyFault NotMyFault added the into-lts This PR is filed against an LTS branch label Jan 17, 2023
@NotMyFault NotMyFault requested a review from timja January 17, 2023 14:55
@NotMyFault NotMyFault mentioned this pull request Jan 17, 2023
30 tasks
…ents plugin (jenkinsci#7568)

* Hide split of windows-slaves from other plugins

https://issues.jenkins.io/browse/JENKINS-70301 notes that the WMI Windows
Agents plugin (id:windows-slaves) was split from core in 1.547 and is
now deprecated.  Because it is deprecated, users want to remove it.
They cannot remove it if they have plugins installed that depend on a
Jenkins version prior to 1.547.

Only two plugins actually depend of any classes from the WMI Windows
Agent plugin.

* cli-extras-plugin - never released, no tags, no install history
* multi-slave-config - already requires windows-slaves plugin explicitly
  and already requires a Jenkins core version newer than 1.547. 1340
  installations, last released 8 years ago

Rather than require updates of all the plugins that require a Jenkins
version less than 1.547, this removes the windows-slaves plugin from the
split plugins list.  Users will not be warned that their plugin might
have a dependency on windows-slaves because the analysis has confirmed
that there is only 1 delivered plugin with that dependency, and it is
an explicitly declared dependency with a newer Jenkins minimum version
than the version from which the WMI Windows Agents plugion was split.

Testing done

* Installed suggested plugins from wizard and confirmed WMI Windows
  Agents plugin is not installed

* Installed slave-setup plugin (has implied WMI Windows Agents plugin
  dependency) and confirmed that WMI Windows Agents plugin is not installed

* Installed multi-slave-setup plugin (has explicit WMI Windows Agents
  plugin dependency) and confirmed that WMI Windows Agents plugin was
  installed as a dependency

* Remove multi-slave-setup plugin and WMI Windows Agents plugin and
  confirmed that Jenkins reported no errors or issues

* Installed five plugins with old base versions and confirmed
  that WMI Windows Agents plugin was not installed.  The five plugins
  included backup-plugin, cloudbees-credentials-plugin, unity3d-plugin,
  groovy-label-assignment-plugin, and maven-deployment-linker plugin.

* Performed a backup with the backup plugin and confirmed that it was
  well behaved

https://docs.google.com/spreadsheets/d/1KDIJIu41rIRlj6PjzyhAY9vazKmd3PVwqM3_-32Lt-o/edit?usp=sharing
lists the plugins that have an implied dependency on the WMI Windows
Agents plugin.

* Remove windows-slaves from war file

No need to bundle a detached plugin that has no consumers of its API
that are based on a Jenkins version before the plugin was split from core.

jenkinsci#7568 (review)
detected that the bundling was left in by the original commit.

(cherry picked from commit f0cbe38)
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.

At the time of this writing JENKINS-70240 remains rejected, for a reason I believe is invalid as explained in JENKINS-70240 (comment).

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.

Between this PR and #7597, the content of 2.375.3 looks good to me (though I see no reason to retain the 2.375.3-rejected label on JENKINS-70240).

@NotMyFault NotMyFault merged commit 0e974ef into jenkinsci:stable-2.375 Jan 23, 2023
MarkEWaite pushed a commit to jenkins-infra/jenkins.io that referenced this pull request Feb 2, 2023
This is to add the changelog & upgrade guide for LTS 2.375.3, this
includes the backports from the [backporting
ticket](jenkinsci/jenkins#7590).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
into-lts This PR is filed against an LTS branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants