Comments (12)
ok commit 115cb57
and pre-release version https://ci.openshift.redhat.com/jenkins/job/openshift-pipeline-plugin/32/s3/download/openshift-pipeline.hpi
should allow skip tls, including from external jenkins ... i'll wait a bit to see if you have a chance to try it before closing this out.
from jenkins-plugin.
@livelace - unfortunately, my Create Resource unit test case passes; I am unable to reproduce.
Starting "Create OpenShift Resource(s)" with the project "test".
Created a "ImageStream"
Created a "BuildConfig"
Exiting "Create OpenShift Resource(s)" successfully, with 2 resource(s) created.
Could you reproduce with verbose tracing ? Are you overriding the token or cert ?
from jenkins-plugin.
No, token and cert are the same as they were.
from jenkins-plugin.
Complete log https://paste.fedoraproject.org/408841/12773411/
from jenkins-plugin.
Is Jenkins running inside an OpenShift Pod or external to OpenShift? I'm not seeing any of the k8s supplied env vars in the env dump.
from jenkins-plugin.
@gabemontero No, there is external Jenkins instance. The configuration didn't touched, I just installed openshift pipeline + openshift sync as dependence.
from jenkins-plugin.
I have replaced first step token with my admin token - no luck, the same problem.
from jenkins-plugin.
Yeah the stack trace you posted is related to the cert, not the token. Since this is an external jenkins, you'll have to supply cert as well as the token.
Try implementing the instructions at https://github.com/openshift/jenkins-plugin#certificates-and-encryption and let's see if I have properly explained what you need to do.
That said, as part of the change to the new openshift-restclient-java/okhttp stuff, I could do a better job of catching this producing a more informative message. I'll work on changes along those lines.
from jenkins-plugin.
Hm, I have read it. I set "SKIP_TLS=True" (string parameter) for this project. But no changes happen. I checked certificates and they are valid (date, dns etc.)
from jenkins-plugin.
OK, then my latest changes aren't honoring SKIP_TLS as well. I'll start working on a fix. Most likely I can have something for you to try in the next hour or so, assuming no interruptions. Thanks.
from jenkins-plugin.
@gabemontero Ok, I see, it's working now. Thanks
FYI https://paste.fedoraproject.org/408905/28525914/
from jenkins-plugin.
cool deal - thanks for the quick confirm @livelace as well as the logs (helps confirm the behavior) !
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
- BUG: OpenshiftExec ignores timeout HOT 12
- 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.