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

Snippet generator creates parameters even if they are left empty

    Details

    • Similar Issues:

      Description

      Snippet generator creates parameters even if they are left empty

      withMaven(  mavenSettingsFilePath = '',  globalMavenSettingsFilePath = '', mavenLocalRepo = '' , mavenOpts = ''){
      
      }
      

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Alvaro Lobato
          Path:
          src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStep.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/557fa79e6c0ae33595437b042e97bfb0a85a1daa
          Log:
          Merge pull request #12 from alvarolobato/JENKINS-40142

          [FIX JENKINS-40142] - Correctly set default values for String params

          Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/0fbb0d2e553e...557fa79e6c0a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alvaro Lobato Path: src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStep.java http://jenkins-ci.org/commit/pipeline-maven-plugin/557fa79e6c0ae33595437b042e97bfb0a85a1daa Log: Merge pull request #12 from alvarolobato/ JENKINS-40142 [FIX JENKINS-40142] - Correctly set default values for String params Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/0fbb0d2e553e...557fa79e6c0a
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Alvaro Lobato
          Path:
          src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStep.java
          http://jenkins-ci.org/commit/pipeline-maven-plugin/9b1076a2bb15a4fcfecc9f9ea9faf85321376e52
          Log:
          JENKINS-40142 - Correctly set default values for String params

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alvaro Lobato Path: src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStep.java http://jenkins-ci.org/commit/pipeline-maven-plugin/9b1076a2bb15a4fcfecc9f9ea9faf85321376e52 Log: JENKINS-40142 - Correctly set default values for String params
          Hide
          cleclerc Cyrille Le Clerc added a comment -

          That's a great fix, thanks Alvaro Lobato!

          Show
          cleclerc Cyrille Le Clerc added a comment - That's a great fix, thanks Alvaro Lobato !

            People

            • Assignee:
              alobato Alvaro Lobato
              Reporter:
              alobato Alvaro Lobato
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: