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

[VariablesSubstitutionHelper] - Multi-line strings with variables are not being substituted

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • p4-plugin
    • None

      Example (view spec):

      ${param1}... //p/param1/...
      ${param2}... //p/param2/...

      Output:
      Warning: Client Spec line invalid, ignoring. (${param1}... //p/param1/...)
      Warning: Client Spec line invalid, ignoring. (${param2}... //p/param2/...)

          [JENKINS-25365] [VariablesSubstitutionHelper] - Multi-line strings with variables are not being substituted

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://github.com/jenkinsci/perforce-plugin/pull/59

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/test/java/com/synopsys/arc/jenkinsci/plugins/perforce/MacroStringHelperTest.java
          http://jenkins-ci.org/commit/perforce-plugin/a14b1bb88361c1210079cc64fa2cca914638d06d
          Log:
          JENKINS-25365 - Unit test for the issue

          Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/test/java/com/synopsys/arc/jenkinsci/plugins/perforce/MacroStringHelperTest.java http://jenkins-ci.org/commit/perforce-plugin/a14b1bb88361c1210079cc64fa2cca914638d06d Log: JENKINS-25365 - Unit test for the issue Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/plugins/perforce/utils/MacroStringHelper.java
          http://jenkins-ci.org/commit/perforce-plugin/816a74186c1960dfb2f791f932748693d95065ae
          Log:
          [FIXED JENKINS-25365] - Get rid of error-prone regexps in MacroStringHelper

          Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/plugins/perforce/utils/MacroStringHelper.java http://jenkins-ci.org/commit/perforce-plugin/816a74186c1960dfb2f791f932748693d95065ae Log: [FIXED JENKINS-25365] - Get rid of error-prone regexps in MacroStringHelper Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: