Missing MaskPasswordsConfig.xml file after installing Mark Password plugin

Article ID:360055526732
1 minute readKnowledge base

Issue

After installing Mask Password plugins, this error appears:

Oct 24, 2019 7:10:31 PM com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsConfig load
WARNING: Unable to load Mask Passwords plugin configuration from com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsConfig.xml
java.nio.file.NoSuchFileException: /var/jenkins_home/com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsConfig.xml

Resolution

This indicates that you are missing a file, but this file will be generated once you modified the Mark Password plugin configuration for the first time in Manage Jenkins -> Configure System and save it. Then, the file will be created with these changes and this warning will disappear.

Tested product/plugin versions

Mask Passwords Plugin version 2.12.0

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.