• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-steps-plugin
    • None

      Sometime it is needed to copy more than one file, for example, xml files contained on a directory. The equivalent of:

      scp my_dir/*.xml user@server:output_directory/

      I think not be able to copy more than one file at once is a limitation

          [JENKINS-53361] Copy files using a regular expresion

          +1, Thanks for logging this sermelo. Nice to have feature. I will look into it soon, please don't mind to issue a pull request if you have already some ideas around this.

          And also we can achieve this by running a script to create a temp directory with filter and just copy that directory over instead, but yeah it is a bit of hacky.

          Naresh Rayapati added a comment - +1, Thanks for logging this sermelo . Nice to have feature. I will look into it soon, please don't mind to issue a pull request if you have already some ideas around this. And also we can achieve this by running a script to create a temp directory with filter and just copy that directory over instead, but yeah it is a bit of hacky.

          Naresh Rayapati added a comment - PR: https://github.com/jenkinsci/ssh-steps-plugin/pull/13

          Merged PR: https://github.com/jenkinsci/ssh-steps-plugin/pull/13 

           

          Will release it after further testing. 

          Naresh Rayapati added a comment - Merged PR: https://github.com/jenkinsci/ssh-steps-plugin/pull/13     Will release it after further testing. 

          Released 1.2.0

          Naresh Rayapati added a comment - Released 1.2.0

            nrayapati Naresh Rayapati
            sermelo Sergio Merino
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: