Let's say that the user won't enter anything inside, how can i check with my script that the value of this variable is zero or if it's empty? I'm using bash and in bash i'm just typing this : if [ -z "$myrvar" ]; then .... or if [ "$myvar" = "" ]; then ... But when 'm testing it without any input it's going well ..
On Wednesday, August 13, 2014 4:06:03 PM UTC+3, Brosh, Yossi wrote: > > > > *From:* jenkins...@googlegroups.com <javascript:> [mailto: > jenkins...@googlegroups.com <javascript:>] *On Behalf Of *Alex Brodov > *Sent:* Wednesday 13 August 2014 14:41 > *To:* jenkins...@googlegroups.com <javascript:> > *Subject:* Re: parameterized builds with optional parameters (Strings)? > > > > I've isntalled this plugin, but in jenkins when i'm adding new parameter > (String) i can't see the optional checkbox, any idea why? > > On Wednesday, August 13, 2014 2:02:17 PM UTC+3, Brosh, Yossi wrote: > > Goto manage jenkins -> plugin manager > > Select the available tab, select the plugin and press the button "install > without restart" > > > > > > *From:* jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] *On > Behalf Of *Alex Brodov > *Sent:* Wednesday 13 August 2014 13:55 > *To:* jenkins...@googlegroups.com > *Subject:* Re: parameterized builds with optional parameters (Strings)? > > > > As i can see this plugin is for choise parameter, by the where can i find > the installation of this plugin and some explanation how to install plugins > in Jenkins? > > On Wednesday, August 13, 2014 1:40:21 PM UTC+3, Brosh, Yossi wrote: > > Hi Alex, > > You have to install the plugin for this: Extended Choice Parameter plugin > <http://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin> > > > > > > *From:* jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] *On > Behalf Of *Alex Brodov > *Sent:* Wednesday 13 August 2014 13:30 > *To:* jenkins...@googlegroups.com > *Subject:* parameterized builds with optional parameters (Strings)? > > > > Hi, > I'm trying to add a new String *parameter*, but i can't see the "optional > checkbox", i need this for my script integration. > In the example that you gave here : > https://wiki.jenkins-ci.org/display/JENKINS/*Parameterized*+Build > <https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build> > it apeears.. > Any idea how to add this checkbox or hot make this *parameter* to be > optional. > > Thanks, > Alex > > -- > 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-use...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > 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-use...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > 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-use...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > -- 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...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.