Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49205

Permit file transfers under non-Remoting-based CLI

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • distfork-plugin
    • None

    Description

      The -L, -R, -z, -Z, -f, and -F options cannot be using in Jenkins 2.46.2+ without -remoting, which is deprecated. At least -z and -Z could instead operate over stdio with any protocol, which also subsumes the use cases of -f and -F with a little extra effort. For example:

      echo '...' > Makefile
      tar cfz - ... | java -jar jenkins-cli.jar -auth ... -s ... dist-fork -z= -Z= sh -c 'tar xfz - && make && tar cfz - a.out' | tar xfz -
      file a.out
      

      Attachments

        Issue Links

          Activity

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: