Hi Adrian
Thank you very much for the article. I'm maintaining a shared library that I'd like to test more. I like your solution very much.
Some of my vars use the openshift client plugin. github.com/openshift/jenkins-clien...
openshift.withCluster() { openshift.withProject() { openshift.raw("project") } }
I was looking for a way to mock the calls to the openshift variable, but didn't find a way how to do that.
Have you ever tried something like that? / Do you have an idea how to do that?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Adrian
Thank you very much for the article.
I'm maintaining a shared library that I'd like to test more. I like your solution very much.
Some of my vars use the openshift client plugin. github.com/openshift/jenkins-clien...
I was looking for a way to mock the calls to the openshift variable, but didn't find a way how to do that.
Have you ever tried something like that? / Do you have an idea how to do that?