Esteemed colleagues,
I'm running a Jenkins Docker container built upon the jenkinsci/jenkins
image (https://hub.docker.com/r/hecklerm/jenkins/), and have connected it
to Gitlab and Maven, and builds are working fine. After adding the Cloud
Foundry plugin, I run into some difficulties.
I've attached a capture of the relevant section of the build config screen.
I've tried two different Cloud Foundry targets - both externally-facing -
and regardless of target specified, I get "Unknown host" when I test the
connection. The docs assume once you plug in a value, it just works, so
troubleshooting information is a bit sparse. :)
When I plug the same URI into a browser, I get a JSON response:
{
"code": 10000,
"description": "Unknown request",
"error_code": "CF-NotFound"
}
This would seem to indicate I may be using an incorrect endpoint, but I'm
plugging in what the command line call "cf api" (from another machine)
returns, which would indicate I'm not.
I don't have the Cloud Foundry CLI installed on/in my Jenkins container. Is
this required? Recommended? If not, any other thoughts on why the CF plugin
can't seem to find my cloud? :)
Thank you for any suggestions or guidance you can offer!
Cheers,
Mark
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d34f7c69-cb13-4ed3-9ae2-a0e58d65ce16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.