Here is a code example :
label = "worker-${UUID.randomUUID().toString()}"
cloudName="MyCloudNameDefinedInJenkinsMainConfiguration"
podTemplate (
cloud: cloudName,
label: label,
yaml: """
apiVersion: v1
kind: Pod
metadata:
labels:
some-label: ${label}
spec:
containers:
- na
I tried Kubernetes cli plugin and it feets pretty well to my needs.
Regards
Olivier
--
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 jenkinsci-users+unsubscr...@
On Thursday, October 4, 2018 at 10:45:19 PM UTC+5:30, olivier blanc wrote:
> I am looking for a Jenkins plugin to interact with kubernetes api from
> jenkins pipeline.
> Is there such a plugin ?
> Thanks
> Olivier
Have you solved this issue, I am also looking for solution for same thing.
--
You
On Friday, October 5, 2018 at 4:22:22 AM UTC-4, olivier blanc wrote:
>
> I have a first version that works fine with scripts, I am trying to figure
> out if using API could be easier for my users.
>
> The point is that I am running Jenkins outside kubernetes.
> So to access Kube master, I have to
I have a first version that works fine with scripts, I am trying to figure
out if using API could be easier for my users.
The point is that I am running Jenkins outside kubernetes.
So to access Kube master, I have to open ssh and run kubectl with command
line arguments, or prepare either Yaml/Js
Why do you want a plugin? Logic is best done in scripts that can be
debugged locally outside of Jenkins leaving pipeline to do orchestration
and reporting. Is there a reason you can not use kubectl directly?
On Thu, 4 Oct 2018, 18:15 olivier blanc, wrote:
> I am looking for a Jenkins plugin to
I am looking for a Jenkins plugin to interact with kubernetes api from
jenkins pipeline.
Is there such a plugin ?
Thanks
Olivier
--
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,
I am looking for a Jenkins plugin to interact with kubernetes api from
jenkins pipeline.
Is there such a plugin ?
Thanks
Olivier
--
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,