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

Permit file transfers under non-Remoting-based CLI

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

      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
      

          [JENKINS-49205] Permit file transfers under non-Remoting-based CLI

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-41745 [ JENKINS-41745 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "Prior investigation (Web Link)" [ 19964 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "Known uses in jenkinsci/packaging (Web Link)" [ 19965 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 9 (Web Link)" [ 19968 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: msi/build-on-jenkins.sh http://jenkins-ci.org/commit/packaging/f1bfb9dfe075a8e6abbe1aae677421fde1eb4cc2 Log: JENKINS-49205 Noting cf. https://github.com/jenkinsci/distfork-plugin/pull/9

          Code changed in jenkins
          User: Jesse Glick
          Path:
          pom.xml
          src/main/java/hudson/plugins/distfork/DistForkCommand.java
          src/test/java/hudson/plugins/distfork/DistForkCommandTest.java
          http://jenkins-ci.org/commit/distfork-plugin/e3438da03a64fa81f3d2c58eac48db326a47010a
          Log:
          JENKINS-49205 Allow file transfers without Remoting-based CLI.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/hudson/plugins/distfork/DistForkCommand.java src/test/java/hudson/plugins/distfork/DistForkCommandTest.java http://jenkins-ci.org/commit/distfork-plugin/e3438da03a64fa81f3d2c58eac48db326a47010a Log: JENKINS-49205 Allow file transfers without Remoting-based CLI.

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

              Created:
              Updated:
              Resolved: