Comments (3)
OK, some initial triage:
-
the NPE literally stems from the
currentContext
being null -
the version of OpenShiftDSL.groovy that @stevekuznetsov is at here, based on the line numbers, and the fact that
_asSingeMap
callsbuildCommonArgs
is relatively old. We are talking about commit 7a0dc00 which is 10 weeks ago as of this comment.
buildCommonArgs
is no longer called from _asSingleMap
since @jupierce changed how _asSingleMap
works with commit 170b9d2 two weeks ago.
Now, what to do:
-
prior to @jupierce 's 170b9d2, this smelled like the need for another use of
dieIfWithout
, checking oncurrentContext
-
but with this refactor, including the returning of an empty list on
object()
if we are not pointing to anything, I am going to close this ("fixed upstream" or however you are inclined to phrase it).
@stevekuznetsov - I plan on cutting a new version of the client plugin (v1.0.4) in the next day or two once I've finished triaging all the "week before Christmas" Jenkins fun that ensued while I was on PTO. It should pick up @jupierce 's commits during that time, including the one I've referenced above. And then I'll update the openshift jenkins centos image right after.
Let's see if you still see this after picking either that image or the latest plugin.
from jenkins-client-plugin.
@gabemontero buildCommonArgs might be a good place to a die-without-context in general. It would eliminate this error from other codepaths.
from jenkins-client-plugin.
from jenkins-client-plugin.
Related Issues (20)
- Question: What extra steps should i follow if my OCP4 cluster is using a proxy ? HOT 4
- exportable did not work on newer openshift clusters HOT 4
- Stream stdout to console for passthrough operations HOT 5
- Plugin incompatible with new-style clouds configuration. HOT 5
- Error after Warning HOT 7
- Can't get api token from com.openshift.jenkins.plugnis.OpenShiftTokenCredentials in pipeline HOT 5
- List of DSL methods required HOT 3
- Error to parse POM's HOT 4
- 'restart' subcommand is missing for rollout()
- Support current version of oc tool HOT 4
- Plugin installation broke credentials used by other plugins HOT 12
- Argument was classified as an image, image~source, or loaded template reference but should be git repo HOT 7
- Leftover oc processes after wait() calls HOT 7
- Plugin doesn't detect capabilities (--ignore-not-found) from recent OC versions HOT 8
- No credentials shown in cluster configuration dropdown HOT 6
- Job fails if there are spaces in the project name, using raw command HOT 9
- Error flags cannot be placed before plugin name on external Jenkins declarative pipeline HOT 2
- Unable to retrieve object names using kubernetes-plugin sidecar container HOT 5
- java.nio.file.NoSuchFileException after upgrade to 1.0.37 HOT 5
- Certificate options not escaped HOT 5
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-client-plugin.