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

masked variable in p4 passwd causes labelling problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None

      When we are using masked plugin with Perforce plugin 1.3.31 or 1.3.34 though the sync happens on the common variable labeling files.
      I define a variable P4USR, P4PWD
      P4PWD is masked passwd defined in Global Configuration and in Build job we enable the mask plugin checkbox.
      The sync happens properly but the labeling fails
      Labelling Build in Perforce using ${JOB_NAME}_${BUILD_ID}
      16:00:11 <${P4PWD}>: Found unresolved macro at '${P4PWD}'
      16:00:11 Build step 'Create or Update Label in Perforce' marked build as failure

      However instead of P4PWD if I use unmasked variables there is no problem. I wanted to use the Mask Plugin and majority of jobs are configured to use that.

            Unassigned Unassigned
            ankans2001_jenkins Ankan Saha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: