• 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

          Sergio Merino created issue -

          +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
          Naresh Rayapati made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 22153 ]
          Naresh Rayapati made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Naresh Rayapati made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          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. 
          Naresh Rayapati made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

          Released 1.2.0

          Naresh Rayapati added a comment - Released 1.2.0
          Naresh Rayapati made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: