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

Default selected item doesn't always honor exactly Default Value

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When git-parameter-plugin is configured like shown below:

      Then, when a build is triggered, default selected item is not origin/lsremote as specified in the configuration.

      Instead, another branch is selected by default as shown below:

       

        Attachments

          Activity

          bechris Christophe Gouiran created issue -
          Hide
          bechris Christophe Gouiran added a comment -

          Opened pull request to fix this issue.

          Show
          bechris Christophe Gouiran added a comment - Opened pull request to fix this issue.
          klimas7 Boguslaw Klimas made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christophe Gouiran
          Path:
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js
          http://jenkins-ci.org/commit/git-parameter-plugin/c26d869ea01073e6e381a4a7c41b5627d8c4347e
          Log:
          JENKINS-50776 Gives priority to items exactly matching default value.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christophe Gouiran Path: src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js http://jenkins-ci.org/commit/git-parameter-plugin/c26d869ea01073e6e381a4a7c41b5627d8c4347e Log: JENKINS-50776 Gives priority to items exactly matching default value.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Boguslaw Klimas
          Path:
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js
          http://jenkins-ci.org/commit/git-parameter-plugin/abfaf0fd5be02031581721df70caa766ef7e979c
          Log:
          Merge pull request #62 from BeChris/master

          JENKINS-50776 Gives priority to items exactly matching default value.

          Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/65266404f077...abfaf0fd5be0

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Boguslaw Klimas Path: src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js http://jenkins-ci.org/commit/git-parameter-plugin/abfaf0fd5be02031581721df70caa766ef7e979c Log: Merge pull request #62 from BeChris/master JENKINS-50776 Gives priority to items exactly matching default value. Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/65266404f077...abfaf0fd5be0
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Hi,

          Thanks for your pull request, I did small optimization

          Show
          klimas7 Boguslaw Klimas added a comment - Hi, Thanks for your pull request, I did small optimization
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christophe Gouiran
          Path:
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js
          http://jenkins-ci.org/commit/git-parameter-plugin/75832158b21a70cb32f9925a04a0ec471709a66e
          Log:
          JENKINS-50776: Default selected item doesn't always honor exactly Default Value

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christophe Gouiran Path: src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js http://jenkins-ci.org/commit/git-parameter-plugin/75832158b21a70cb32f9925a04a0ec471709a66e Log: JENKINS-50776 : Default selected item doesn't always honor exactly Default Value
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Boguslaw Klimas
          Path:
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js
          http://jenkins-ci.org/commit/git-parameter-plugin/cba5086c2bf159a975cb841bd149b7c01d7d8633
          Log:
          Merge pull request #63 from jenkinsci/feature/JENKINS-50776

          JENKINS-50776: Default selected item doesn't always honor exactly Def…

          Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/abfaf0fd5be0...cba5086c2bf1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Boguslaw Klimas Path: src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/javascript/git-parameter.js http://jenkins-ci.org/commit/git-parameter-plugin/cba5086c2bf159a975cb841bd149b7c01d7d8633 Log: Merge pull request #63 from jenkinsci/feature/ JENKINS-50776 JENKINS-50776 : Default selected item doesn't always honor exactly Def… Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/abfaf0fd5be0...cba5086c2bf1
          Hide
          bechris Christophe Gouiran added a comment - - edited

          Hi,

          Thanks you very much and glad to see you accepted the fix : it is very important to me for the use of your plugin at work.

          When do you foresee to release version 0.9.2 ?

          Show
          bechris Christophe Gouiran added a comment - - edited Hi, Thanks you very much and glad to see you accepted the fix : it is very important to me for the use of your plugin at work. When do you foresee to release version 0.9.2 ?
          klimas7 Boguslaw Klimas made changes -
          Remote Link This issue links to "Page (Jenkins Wiki)" [ 20442 ]
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Release 0.9.2

          Show
          klimas7 Boguslaw Klimas added a comment - Release 0.9.2
          klimas7 Boguslaw Klimas made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          klimas7 Boguslaw Klimas made changes -
          Status Closed [ 6 ] In Review [ 10005 ]
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Release 0.9.2

          Show
          klimas7 Boguslaw Klimas added a comment - Release 0.9.2
          klimas7 Boguslaw Klimas made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          klimas7 Boguslaw Klimas made changes -
          Remote Link This issue links to "Page (Jenkins Wiki)" [ 20442 ]

            People

            Assignee:
            klimas7 Boguslaw Klimas
            Reporter:
            bechris Christophe Gouiran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: