title: trying to attach a file as a parameter in a pipeline
body: <p>here is my code:</p>
  <p>I am building a jenkins pipleine but dont know how to attach a file as a parameter step</p>
  <pre><code>pipeline {
      agent { node { label 'abc' } }
  
      stages {
          stage('Running for : MQ Injection') {
              steps {
                  echo 'Injectiong Messages in dev'
                  build job: 'MQTask_Publisher', parameters: [string(name: 'mq.host', value: mqhost), string(name: 'mq.port', value: mqport), string(name: 'mq.manager', value: mqmanager), string(name: 'mq.channel', value: mqchannel),string(name: 'mq.queue', value: mqqueue),string(name: 'mq.wait.seconds', value: mqwaitseconds),string(name: 'fileType', value: fileType)]
                  
              }
          } 
    
      
       stage('Running for : MQ Message validation') {
              steps {
                  echo 'Validating messages created from MQ'
                  build job: 'MQInjection_Validation', parameters: [string(name: 'Environment', value: env), string(name: 'TRN', value: trn), string(name: 'Min Date', value: minDate), string(name: 'Max Date', value: maxDate), string(name: 'Creation time', value: time)]
              }
          }
      }
  }
  </code></pre>