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

ParametrizedProject is loosing parameters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          lucamilanesio Luca Domenico Milanesio added a comment -

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

          Show
          lucamilanesio Luca Domenico Milanesio added a comment - Issue reopened for implementing the same fix but using Project default values.
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.

            People

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

              Dates

              Created:
              Updated:
              Resolved: