Giter VIP home page Giter VIP logo

Comments (12)

gabemontero avatar gabemontero commented on July 21, 2024 1

jenkins-plugin.zip

ok good @livelace

before pushing this fix to the repo, if you don't mind, I'd like for you to try the plugin I've attached here; I'm not 100% certain I can construct a long running exec close enough to what you are doing to cover everything; this way, if we have to iterate once or twice on the change, we can expedite things by my sending you hpi files directly

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024 1

just unzip that file and then install the hpi file as you usually do ... thanks

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024 1

but in general you'll need to be a little careful with the timeout value you put in ... there is only so much massaging that can be done in this space.

here is the updated plugin:
jenkins-plugin.zip

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024

The error being reported here stems from the restclient/okhttp3 client timing out, where we essentially have a long running REST call. The application of timeout in the step was not applied to the restclient/okhttp3 client timeout configuration.

We should augment our configuration of that client for this step to do that.

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024

NOTE @livelace - you'll need to set the timeout in the step's advanced tab section

from jenkins-plugin.

livelace avatar livelace commented on July 21, 2024

@gabemontero It's not a problem if it will work as expected. Every task usually has a dedicated timeout (different complexity).

from jenkins-plugin.

livelace avatar livelace commented on July 21, 2024

Values in advanced tab - http://fastpic.co/image/Ph0k16
Error1 -
https://paste.fedoraproject.org/paste/N9mDtmSMi6uwgwVmqn8Yel5M1UNdIGYhyRLivL9gydE=/raw
Error2 - https://paste.fedoraproject.org/paste/AP4U~0iJjOzOZqMcvQbDC15M1UNdIGYhyRLivL9gydE=/raw

from jenkins-plugin.

livelace avatar livelace commented on July 21, 2024

@gabemontero I go sleep now. Feel free to attach a new version - I will check it in the morning :)

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024

There is a long to int conversion issue with error1 (the restclient only takes int) ... I might be able to work around error1 by converting the long / milliseconds to a smaller number in larger units.

with error2 I'm inferring you put quotation marks around your number ... not sure otherwise

from jenkins-plugin.

livelace avatar livelace commented on July 21, 2024

@gabemontero It works! Tasks work as expected. Today I will work with this step in more intense manner, maybe it will reveal hidden problems, but it works at the moment :)

Thank you very much :)

from jenkins-plugin.

livelace avatar livelace commented on July 21, 2024

@gabemontero

I think enough. All working fine.

Have a nice weekend :)

from jenkins-plugin.

gabemontero avatar gabemontero commented on July 21, 2024

from jenkins-plugin.

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.