Comments (12)
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.
just unzip that file and then install the hpi file as you usually do ... thanks
from jenkins-plugin.
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.
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.
NOTE @livelace - you'll need to set the timeout in the step's advanced tab section
from jenkins-plugin.
@gabemontero It's not a problem if it will work as expected. Every task usually has a dedicated timeout (different complexity).
from jenkins-plugin.
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.
@gabemontero I go sleep now. Feel free to attach a new version - I will check it in the morning :)
from jenkins-plugin.
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.
@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.
I think enough. All working fine.
Have a nice weekend :)
from jenkins-plugin.
from jenkins-plugin.
Related Issues (20)
- Patch / Update resources HOT 9
- jenkins template using spec.clusterIP instead of spec.portalIP HOT 2
- Build output sometimes not shown in jenkins console output HOT 2
- Deployments don't work HOT 3
- Environment Variables don't respect Parameterised Builds HOT 6
- Timeout of builds HOT 3
- Unable to do openshiftTag() in pipeline HOT 1
- FR: Support of variables inside Openshift Exec HOT 9
- BUG: "Test connection" always returns "Connections successful" HOT 11
- Confusing print statement if openshiftVerifyDeployment fails HOT 1
- okhttp binary changes break plugin when others installed HOT 11
- Externalize the CERT_FILE = "/run/secrets/kubernetes.io/serviceaccount/ca.crt"; HOT 7
- Issue with Jenkin's Verify Build OpenShift plug-in functionality HOT 9
- Declarative pipeline support? HOT 4
- openshift-client-plugin really still a "tech preview" ? HOT 3
- Jenkins throws an error when using the openhiftBuild with the buildConfig parameter HOT 3
- Resulting GDSL is Broken HOT 2
- openshiftBuild should support binary build type. HOT 10
- Add deprecation warning and link to new plugin as first thing in repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jenkins-plugin.