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

Permit file transfers under non-Remoting-based CLI

    Details

    • Similar Issues:

      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

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -
            Show
            scm_issue_link 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
            Hide
            scm_issue_link 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.

            Show
            scm_issue_link 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.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            Jenkinsfile
            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/277e7bb62b283104cb6ed131920700344bd73dbb
            Log:
            Merge pull request #9 from jglick/plain-CLI-JENKINS-49205

            JENKINS-49205 Allow file transfers without Remoting-based CLI

            Compare: https://github.com/jenkinsci/distfork-plugin/compare/22e1d1b6d944...277e7bb62b28

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: Jenkinsfile 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/277e7bb62b283104cb6ed131920700344bd73dbb Log: Merge pull request #9 from jglick/plain-CLI- JENKINS-49205 JENKINS-49205 Allow file transfers without Remoting-based CLI Compare: https://github.com/jenkinsci/distfork-plugin/compare/22e1d1b6d944...277e7bb62b28

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: