Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18825

Mask Password Plugin inserts password params into msbuild string.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • mask-passwords-plugin
    • None
    • Win 7

      I'm trying to mask some passwords for batch processes (both bash and win batch) and those seem to work fine. However, enabling Masked Passwords also puts a /p:<password=***> in all of my msbuild strings, causing msbuild to fail on all projects. Am I doing something wrong?

          [JENKINS-18825] Mask Password Plugin inserts password params into msbuild string.

          Here's log output from the build with masked passwords enabled.

          Executing the command cmd.exe /C c:\progra~1\micros~2.0\common7\IDE\devenv.com /build ""Release|Any CPU"" /p:BUILD_ADMIN_PASS=******** C:\JENKINS\jobs\<jobname>\workspace\Build_Project.sln && exit %%ERRORLEVEL%%

          Log output without masked passwords enabled:

          Executing the command cmd.exe /C c:\progra~1\micros~2.0\common7\IDE\devenv.com /build ""Release|Any CPU"" C:\JENKINS\jobs\<jobname>\workspace\Build_Project.sln && exit %%ERRORLEVEL%%

          Thanks!
          AJ

          Andrew Gallant added a comment - Here's log output from the build with masked passwords enabled. Executing the command cmd.exe /C c:\progra~1\micros~2.0\common7\IDE\devenv.com /build ""Release|Any CPU"" /p:BUILD_ADMIN_PASS=******** C:\JENKINS\jobs\<jobname>\workspace\Build_Project.sln && exit %%ERRORLEVEL%% Log output without masked passwords enabled: Executing the command cmd.exe /C c:\progra~1\micros~2.0\common7\IDE\devenv.com /build ""Release|Any CPU"" C:\JENKINS\jobs\<jobname>\workspace\Build_Project.sln && exit %%ERRORLEVEL%% Thanks! AJ

            danielpetisme Daniel Petisme
            agallant Andrew Gallant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: