0

I'm trying to create a jenkins pipeline with file upload parameter. unlike regular job that uploads the file to the workspace, pipeline job seem to do nothing with the file I pick.

Do you know how I can use uploaded files?

from the UI - pipeline configurations: enter image description here

from the UI when running the pipeline: enter image description here

my pipeline script for example run 'ls' just to check if the file was uploaded:

pipeline {
    agent any
        
    stages {
        stage('test') {
            steps {
                sh 'ls'
            }
        }
    }
}

Thanks, Avi

Avi Elgal
  • 149
  • 1
  • 3
  • 9
  • I deleted my answer after your update on the question. I think your request is mostly similar with this: https://stackoverflow.com/questions/38080876/jenkins-pipeline-job-with-file-parameter – TudorIftimie Mar 15 '22 at 11:19

0 Answers0