• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • other
    • None
    • Platform: All, OS: All

      When activating a ParametrizedProjectTask through an automated scheduling due to a SCM update,
      parameters are lost and build is run without any parameter (causing the build to fail).

      We need to fix that by using parameter values of last build associated to ParametrizedProject.

          [JENKINS-2336] ParametrizedProject is loosing parameters

          Code changed in hudson
          User: : lucamilanesio
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=12051
          Log:
          [FIXED JENKINS-2336] ParametrizedProjectTask is now generated as decorator when a SCM Polling schedules a new build

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : lucamilanesio Path: trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java http://fisheye4.cenqua.com/changelog/hudson/?cs=12051 Log: [FIXED JENKINS-2336] ParametrizedProjectTask is now generated as decorator when a SCM Polling schedules a new build

          Code changed in hudson
          User: : lucamilanesio
          Path:
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=12052
          Log:
          JENKINS-2336 Bug-fix inserted in change log for releasing in Ver. 1.253

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : lucamilanesio Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=12052 Log: JENKINS-2336 Bug-fix inserted in change log for releasing in Ver. 1.253

          Code changed in hudson
          User: : lucamilanesio
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=12056
          Log:
          JENKINS-2336 Rolling back changes of r12051 (changes are giving problems to tom.huybrechts@gmail.com for his workflow plugin) and Java file has been incorrectly formatted

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : lucamilanesio Path: trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java http://fisheye4.cenqua.com/changelog/hudson/?cs=12056 Log: JENKINS-2336 Rolling back changes of r12051 (changes are giving problems to tom.huybrechts@gmail.com for his workflow plugin) and Java file has been incorrectly formatted

          Issue reopened for implementing the same fix but using Project default values.

          Luca Domenico Milanesio added a comment - Issue reopened for implementing the same fix but using Project default values.

          Code changed in hudson
          User: : lucamilanesio
          Path:
          trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java
          trunk/hudson/main/core/src/main/java/hudson/model/ParameterDefinition.java
          trunk/hudson/main/core/src/main/java/hudson/model/StringParameterDefinition.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=12057
          Log:
          [FIXED JENKINS-2336] Refactoring based on AbstractProject default values (and NOT the ones used in last build). New "getDefaultParameterValue()" method introduced for extracting default values from ParameterDefinition.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : lucamilanesio Path: trunk/hudson/main/core/src/main/java/hudson/model/AbstractProject.java trunk/hudson/main/core/src/main/java/hudson/model/ParameterDefinition.java trunk/hudson/main/core/src/main/java/hudson/model/StringParameterDefinition.java http://fisheye4.cenqua.com/changelog/hudson/?cs=12057 Log: [FIXED JENKINS-2336] Refactoring based on AbstractProject default values (and NOT the ones used in last build). New "getDefaultParameterValue()" method introduced for extracting default values from ParameterDefinition.

            lucamilanesio Luca Domenico Milanesio
            lucamilanesio Luca Domenico Milanesio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: