Let's say I have the following use case. I have 3 choice parameters,
namely, Country, State, City. I have shared library steps to GetCountries,
then GetStates with country as argument and then GetCities with country and
state as arguments. In my pipeline job, I will have 3 Choice parameters,
one ea
You have to create a list from the return value of the library step.
I don't know what library step you are using so cannot provide specific
example.
On Sat, Dec 19, 2020, 12:59 AM Ven H wrote:
> Thanks a lot, Senthil. Can it be a Shared Library Step or a Class method
> only?. It will be great,
Thanks a lot, Senthil. Can it be a Shared Library Step or a Class method
only?. It will be great, if you can please help with some examples.
Regards,
Venkatesh
On Sat, Dec 19, 2020 at 12:48 AM Senthil Nathan
wrote:
> Yes. In below example the choice_list can come from a shared pipeline
> libra
Yes. In below example the choice_list can come from a shared pipeline
library.
Eg)
Jenkinsfile:
choice_list=["choice1", "choice2", choice3"]
properties([
parameters([
choice(name: 'mychoiceparam', choices:choice_list,
description: 'my choices')])
])
On Fri,
Well, this has all been very interesting, and I am truly grateful for the
time you took to write your answers.
I went with the backup plan - zipping the Oracle JDK 8 directory and then
letting Jenkins get it from Artifactory. That works good enough for me.
I think that the conclusion is that the
Is it possible to populate a Choice parameter values (choices) with values
retrieved from a Shared Library Step? Please help.
Regards,
Venkatesh
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving
On Fri, Dec 18, 2020 at 10:29 AM Amedee Van Gasse
wrote:
> The Oracle JDK is a requirement for a non-technical reason, and I am not
> at liberty to discuss the nature of those non-technical requirements on a
> public communication channel.
> I know, that sounds more mysterious than it actually is
On Thu, Dec 17, 2020 at 10:38 AM Yannick Lacaute
wrote:
> Hi Charles,
>
> I am working on a pipeline (build java > build docker > deploy pod in
> Openshift) and currently I have no unit test.
> I think you achieved something huge !! Well done by the way :)
>
Many thanks.
>
> Could you please giv
The Oracle JDK is a requirement for a non-technical reason, and I am not at
liberty to discuss the nature of those non-technical requirements on a
public communication channel.
I know, that sounds more mysterious than it actually is. :-)
An Oracle JDK license is only required for Oracle Java SE
I'm working with Stephan to resolve the issue.
On Fri, Dec 18, 2020 at 9:38 AM Stephan Watermeyer
wrote:
> Hey, i would like to update my jenkins plugin but i cant log in to my
> account anymore. The reset password functionality does not work for me, as
> i dont get the emails. Maybe someone can
Hey, i would like to update my jenkins plugin but i cant log in to my
account anymore. The reset password functionality does not work for me, as
i dont get the emails. Maybe someone can help me to reset my account or
reset my mail for account. My account name is phreakadelle
Cheers
Stephan
--
I use a WIndows Server 2019 ssh agent that has AdoptOpenJDK 8u275 unpacked
in a user directory with JAVA_HOME set in the environment of that user to
use the AdoptOpenJDK 8u275 installation. It seems like you should not need
the Oracle JDK at all if you use AdoptOpenJDK. That avoids the
requiremen
There was a thread here last month "Recommended way to setup a windows
agent nowadays?"
I have a (new) windows agent (Windows Server 2019) that is connected
through SSH, as described in that thread. It's configured through Packer
and Ansible, to avoid clickety-click Next-Next-Next-Finish.
I ha
Hi,
Lately, I have been trying to figure out how to configure EC2 cloud to
launch slave nodes in another AWS account.
Seems the plugin is unable to successfully locate the AMI and security
groups from the other account.
Why am I doing this ?
Recently our organisation got merged with another, a
No, all my functions are directly called from "steps", in a declarative
pipeline
On Fri, Dec 18, 2020 at 5:59 AM Stuart Rowe wrote:
> Any chance this is being called from a @NonCPS method? I've seen similar
> behaviour in that case.
> On Monday, 14 December 2020 at 14:37:55 UTC-8 yannick...@gmai
Hi Mark
i have installed kubernetes-cli an dit worked.Thank you
On Thursday, 17 December 2020 at 21:29:41 UTC+5:30 Mark Waite wrote:
> Are you sure that you have the Kubernetes CLI plugin installed?
> https://plugins.jenkins.io/kubernetes-cli/
>
> On Thu, Dec 17, 2020 at 8:50 AM anilkumar pandi
Hi,
I have followed the below and my connection test is successful to K8S
cluster.
Navigate to,
- Jenkins -> Credentials
- Select Kind as a secret file
- Browse and load your ~/.kube/config file
- Fill ID, Description and Save.
Now select,
- Kind as Kubernetes configuration (kubeconfig)
- Fill ID
17 matches
Mail list logo