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

          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.

          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

          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

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

              Created:
              Updated:
              Resolved: