Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mention JENKINS-23273, minor upgrade guide changes
  • Loading branch information
daniel-beck committed Jun 13, 2017
1 parent 4b470e3 commit 800435b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
7 changes: 7 additions & 0 deletions content/_data/changelogs/lts.yml
Expand Up @@ -423,6 +423,13 @@
title: full changelog
# WINDOWS SERVICES END

# PACKAGING START
- type: bug
message: >
Packaging:
Do not invoke recursive <code>chown</code> in <code>JENKINS_HOME</code> during the RPM post-install step unless owned by a different user.
issue: 23273
# PACKAGING END

# SEARCH START
- type: rfe
Expand Down
5 changes: 2 additions & 3 deletions content/_data/changelogs/weekly.yml
Expand Up @@ -288,9 +288,8 @@
- type: bug
message: >
Packaging:
Do not invoke recursive chown in JENKINS_HOME during the RPM post-install step.
references:
- issue: 23273
Do not invoke recursive <code>chown</code> in <code>JENKINS_HOME</code> during the RPM post-install step unless owned by a different user.
issue: 23273
- type: rfe
issue: 34670
pull: 2445
Expand Down
21 changes: 19 additions & 2 deletions content/doc/upgrade-guide/2.60.adoc
Expand Up @@ -19,17 +19,34 @@ If you're using the Maven Plugin for your Maven-based builds, note that the JDK
If an older JDK is configured, Jenkins will attempt to find a more recent JDK automatically.
If your Maven projects need to be built with JDK 7, consider converting them to freestyle projects, or look into Maven toolchains.

// If you're using the plugin:ssh-slaves[SSH Slaves] plugin,
// TODO explain the minimum version mess unless we manage to fix it before release

==== Groovy 2.4.8 Upgrade

https://issues.jenkins-ci.org/browse/JENKINS-33358[JENKINS-33358],
https://issues.jenkins-ci.org/browse/JENKINS-42189[JENKINS-42189]

Groovy has been upgraded to 2.4.8 to fix a memory leak.
If you're using Pipeline, note that you will need to update the Pipeline: Groovy plugin to version 2.28 or later.

If you're using Pipeline, note that you will need to update the plugin:workflow-cps[Pipeline: Groovy] plugin to version 2.28 or later.

==== Trilead SSH Library Upgrade

https://issues.jenkins-ci.org/browse/JENKINS-42959[JENKINS-42959]

The Trilead SSH library bundled with Jenkins has been upgraded.
If you're using the SSH slaves plugin to connect agents via SSH, a known issue is TODO
If you're using the SSH slaves plugin to connect agents via SSH, a known issue resulting from that upgrade can result in connection failures.

The plugin:ssh-slaves[SSH Slaves] plugin should be upgraded to version 1.8 or newer.

==== RPM Packaging No Longer Performs Recursive <code>chown</code>

https://issues.jenkins-ci.org/browse/JENKINS-23273[JENKINS-23273]

The RPM packaging post-install step used to perform a recursive <code>chown</code> on <code>JENKINS_HOME</code> and other directories to ensure correct ownership.
Especially in the case of <code>JENKINS_HOME</code> this could lead to very long-running installations and updates.

This has been optimized to only perform the recursive <code>chown</code> if the Jenkins home directory is owned by a different user than the one the service would be running as.

NOTE: All files inside <code>JENKINS_HOME</code> are expected to be owned, readable, and writable by the Jenkins user.

0 comments on commit 800435b

Please sign in to comment.