Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
RHEL7/CentOS7 JDK8, Jenkins v2.42
Description
On Jenkins v2.42 using NodeJS v1.0 plugin, NodeJS installation configuration entered via the Global Tools Configuration UI ($JENKINS_HOME/configureTools/) is only persisted in-memory and not to file so when Jenkins is restarted, the configuration is lost.
No errors are seen in the log. I've also tried manually uploading existing config file from a previous version but doesn't help.
Uninstalled v1.0 and installed v0.2.2 on same test CentOS instance and nodejs.xml persisted fine.
Attachments
Issue Links
- is duplicated by
-
JENKINS-41716 Upgrade Breaks NodeJS Tool Installations
-
- Closed
-
Code changed in jenkins
User: Nikolas Falco
Path:
src/main/java/jenkins/plugins/nodejs/tools/NodeJSInstallation.java
http://jenkins-ci.org/commit/nodejs-plugin/a15909ab05ac5a3267c92909c5a16bcaf9cc5482
Log:
[FIX JENKINS-41535] Fix persistence of nodejs installation tool invoking load and save methods.