• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • matrix-project-plugin
    • None
    • Platform: All, OS: All

      I have set up a Parameterized Matrix Project.

      For example my Parameter is simply SVNTAG=AProject-0.1.0.

      I set up my repository url to http://svn/tags/${SVNTAG}

      Then, when I try to manually build my project, the Master executer succesfully
      checks out the code, but the triggered slaves cannot checkout. They report an
      error that the URL http://svn/tags/${SVNTAG} does not exist.

      It seems like the slaves are not getting the parameter values.

          [JENKINS-2903] Parameterized Matrix Project is not working

          ricardo_go added a comment -

          A bit more of information..

          I'm running on a test PC Hudson 1.271-SNAPSHOT (I have taken the source code
          to check this better.)
          I have the master and slave running on the same PC.

          When running a matrix project, with a Build parameter, this is the output I
          get.
          c:\test_slave\workspace\1\label\label>set V
          Environment variable V not defined

          c:\test_slave\workspace\1\label\label>exit 1
          finished: FAILURE

          When I run a Free-Style project tied to the label that the
          slave belongs, I get:
          c:\test_slave\workspace\free>set V
          VERSION=Hudson

          c:\test_slave\workspace\free>exit 0
          finished: SUCCESS

          To me, this seems to be an incoherent behavior, which is
          causing me a lot of distress....
          Anyone has any pointers/ideas/comments??

          ricardo_go added a comment - A bit more of information.. I'm running on a test PC Hudson 1.271-SNAPSHOT (I have taken the source code to check this better.) I have the master and slave running on the same PC. When running a matrix project, with a Build parameter, this is the output I get. c:\test_slave\workspace\1\label\label>set V Environment variable V not defined c:\test_slave\workspace\1\label\label>exit 1 finished: FAILURE When I run a Free-Style project tied to the label that the slave belongs, I get: c:\test_slave\workspace\free>set V VERSION=Hudson c:\test_slave\workspace\free>exit 0 finished: SUCCESS To me, this seems to be an incoherent behavior, which is causing me a lot of distress.... Anyone has any pointers/ideas/comments??

          huybrechts added a comment -

          Parameters are simply not implemented for matrix configurations.
          I'll have a look.

          huybrechts added a comment - Parameters are simply not implemented for matrix configurations. I'll have a look.

          huybrechts added a comment -

          implemented

          huybrechts added a comment - implemented

          Code changed in hudson
          User: : huybrechts
          Path:
          trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixBuild.java
          trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixConfiguration.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=14709
          Log:
          JENKINS-2903 pass parameters in a matrix build

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : huybrechts Path: trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixBuild.java trunk/hudson/main/core/src/main/java/hudson/matrix/MatrixConfiguration.java http://fisheye4.cenqua.com/changelog/hudson/?cs=14709 Log: JENKINS-2903 pass parameters in a matrix build

          huybrechts added a comment -
              • Issue 2525 has been marked as a duplicate of this issue. ***

          huybrechts added a comment - Issue 2525 has been marked as a duplicate of this issue. ***

            Unassigned Unassigned
            ertanden ertanden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: