Git Product home page Git Product logo

Comments (5)

khmarbaise avatar khmarbaise commented on August 17, 2024

I would assume just curl http://localhost:10090/job/javaee/ws/pom.xml would get the pom file from the workspace...

from java-client-api.

yuzhougit avatar yuzhougit commented on August 17, 2024

@khmarbaise , curl is an external tool to download it. I want to know if any way in jenkins-client could download file by coding

from java-client-api.

pnathan avatar pnathan commented on August 17, 2024

It would be suboptimal to add a HTTP file download to jenkins-client when
excellent automated tools exist elsewhere.

On Sun, Nov 29, 2015 at 7:28 AM, Yu Zhou [email protected] wrote:

@khmarbaise https://github.com/khmarbaise , curl is an external tool to
download it. I want to know if any way in jenkins-client could download
file by coding


Reply to this email directly or view it on GitHub
#119 (comment)
.

from java-client-api.

yuzhougit avatar yuzhougit commented on August 17, 2024

@khmarbaise @pnathan I have found a workaround. In JenkinsHttpClient class, there is a method 'getFile' which could be used to download a file. But the client is a private member of JenkinsServer, you have to get the instance by reflect. Can we expose a GET method in JenkinsServer to get the client when user need it for doing some more advanced things?

from java-client-api.

khmarbaise avatar khmarbaise commented on August 17, 2024

I thinks there is no reason not to do such a thing in particular if it helps you...to make things easier...

from java-client-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.