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

Permit file transfers under non-Remoting-based CLI

    XMLWordPrintable

    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

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-41745 [ JENKINS-41745 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Prior investigation (Web Link)" [ 19964 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Known uses in jenkinsci/packaging (Web Link)" [ 19965 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 9 (Web Link)" [ 19968 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            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
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "Page (Jenkins Wiki)" [ 19986 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CLTS-2593 (Web Link)" [ 20126 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal PRE-100 (Web Link)" [ 20160 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal FNDN-100 (Web Link)" [ 20723 ]

              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: