title: Jenkinsfile Groovy Pipeline Text Parameter Whitespace
body: <p>currently I wish to added a multliline text parmeter to a groovy pipeline. If the text parameter is not left column alighed (no space before paramter), then whitespace is injected into the text parameter list.</p>
  
  <p>Any ideas on how to resolve this?</p>
  
  <p>Here is the code </p>
  
  <pre><code>#!/usr/bin/env groovy
  
  node {
  
      def startTime = new Date()
      println "Build start time : " + startTime
  
      // Load system parameters
      def projectProperties = [
      [$class: 'EnvInjectJobProperty', info: [loadFilesFromMaster: false, secureGroovyScript: [classpath: [], sandbox: false, script: '']], keepBuildVariables: true, keepJenkinsSystemVariables: true, on: true]
      ]
  
      // Set project parameters  
      projectProperties.add(parameters([
          string(name: 'infraRepo', description: 'Repo Name', defaultValue: 'my-infrastructure' ),
          string(name: 'infraBranch', description: 'Repo Branch', defaultValue: 'develop' ),
          string(name: 'projectName', description: 'Project name', defaultValue: 'think-more' ),
          // Text field not left side aligned now whitespace will be injected
          text(name: 'ecrRepoAndVersion', description: 'ECR Docker name and version number',
          defaultValue:'''address=3.0.1
          address-details=3.0.1
          auth=3.2.1'''),
          choice(name: 'clusterName', description: 'Ecs cluster name', choices: '---Select---\nblue-ci\ngreen-ci', defaultValue: '---Select---'),
  ]))
  
      properties(projectProperties)
  
      // Print system variables
      sh 'env | sort'
  }
  </code></pre>
  
  <p>And here is an image of how the Jenkins Job UI looks after this pipeline is executed. Note the whitespace in the ecrRepoAndVersion field.</p>
  
  <p><a href="https://i.stack.imgur.com/0fZ7T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0fZ7T.png" alt="Jenkins UI View"></a></p>