Re: setting build name while job is running using build-name-setter plugin

2016-08-04 Thread sivarajesh jarugula
Hi Loannis,

Can you elaborate more on how to do this?
where do I assign it? in the executable shell?

Thanks,
SIva Rajesh

On Thu, Aug 4, 2016 at 5:20 PM, Ioannis Moutsatsos <imoutsat...@gmail.com>
wrote:

> I would assign the user ID to a build parameter. Then it would be
> available before the build starts
>
> On Tuesday, August 2, 2016 at 2:09:16 AM UTC-4, sivarajesh jarugula wrote:
>>
>> I have a jenkins page with  multiple users running jobs simultaneously
>> the jenkins page can be logged in using LDAP user accounts.
>> while jobs are running from multiple users, I would like to see the
>> username in each build number
>> this helps users does not kill the job IDs of other users (is there any
>> other way to restrict LDSP users see only  their jobs, but not others jobs?)
>> But I am able to see the username in build history, only after job is
>> finished but not while the job is running as shown in below snapshot:
>>
>>
>>
>>
>> Following are the settings that I am using for build-name-setting plugin:
>>
>>
>> If I set the "Set build name before build starts", jenkins gives error
>> saying BUILD_USER_ID is not available.
>>
>>
>> Thanks in Advance,
>> Siva Rajesh
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/QbsUQeWTZJY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-users/32061b3e-e256-44a8-be1e-1f89b01d93de%40googlegroups.
> com
> <https://groups.google.com/d/msgid/jenkinsci-users/32061b3e-e256-44a8-be1e-1f89b01d93de%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAEusrPOxVjA%2BWA2mngpnniwsBXG_tDe4p-tjumkvtvzND1ihPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


setting build name while job is running using build-name-setter plugin

2016-08-02 Thread sivarajesh jarugula
I have a jenkins page with  multiple users running jobs simultaneously
the jenkins page can be logged in using LDAP user accounts.
while jobs are running from multiple users, I would like to see the 
username in each build number
this helps users does not kill the job IDs of other users (is there any 
other way to restrict LDSP users see only  their jobs, but not others jobs?)
But I am able to see the username in build history, only after job is 
finished but not while the job is running as shown in below snapshot:




Following are the settings that I am using for build-name-setting plugin:


If I set the "Set build name before build starts", jenkins gives error 
saying BUILD_USER_ID is not available.


Thanks in Advance,
Siva Rajesh

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4f65beaa-a143-430c-ae66-66fb48807d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue with running csh commands in the jenkins "Execute Shell" commands

2016-06-25 Thread sivarajesh jarugula
Thanks Martin for your help.
I do not have any aliases.
I got away with the error by adding -f switch as follows:

#!/bin/csh *-f*




On Sat, Jun 25, 2016 at 3:48 AM, Martin d'Anjou <martin.danjo...@gmail.com>
wrote:

> Check the contents of the .cshrc file, there is probably something setting
> or loading aliases there. You should also look into using something more
> modern like bash.
>
> On Thursday, June 23, 2016 at 12:36:21 PM UTC-4, sivarajesh jarugula wrote:
>>
>> I am running a Jenkins parameterized build along with having csh commands in 
>> the "Exeute Shwll" WIndow/
>> my shell commands:
>> #!/bin/csh
>> echo "hu ha"
>>
>>
>> I am getting the following error:
>> [workspace] $ /bin/csh -xe /tmp/hudson3705530096260628757.sh
>> alias: No match.
>> Build step 'Execute shell' marked build as failure
>> Finished: FAILURE
>>
>> Can somebody tells me why this is failing?
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/ZfoWEiaEiMU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/5a3baadf-3de1-4119-99c9-4520e0753c35%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/5a3baadf-3de1-4119-99c9-4520e0753c35%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAEusrPP7K4zDktGC4iW7nedMBS_WCrheoMxqg%3DXA9ZALteEz9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Issue with running csh commands in the jenkins "Execute Shell" commands

2016-06-23 Thread sivarajesh jarugula


I am running a Jenkins parameterized build along with having csh commands in 
the "Exeute Shwll" WIndow/
my shell commands:
#!/bin/csh
echo "hu ha"


I am getting the following error:
[workspace] $ /bin/csh -xe /tmp/hudson3705530096260628757.sh
alias: No match.
Build step 'Execute shell' marked build as failure
Finished: FAILURE

Can somebody tells me why this is failing?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0264e382-46b3-41fb-a650-c6931d2912bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins plugin for Directory Parameter

2016-06-12 Thread sivarajesh jarugula
Hi Mathus,

So, You say that I can not find any jenkins plugin that will have a browse
button for a directory instead of a file (like in File parameter)  :-(

Thanks,
Siva Rajesh

On Sun, Jun 12, 2016 at 6:03 PM, Baptiste Mathus <m...@batmat.net> wrote:

> Nope. Please note that would require your browser to be able to do that.
> So, it's unlikely you find it. Or it'd require some flash or applet on the
> client side, but those tech are quickly disappearing from our field.
>
> Cheers
>
> 2016-06-08 9:44 GMT+02:00 sivarajesh jarugula <
> sivarajesh.jarug...@gmail.com>:
>
>> I know there is a Plugin called 'File Parameter' by which I can browse a
>> file and get into the jenkin workspace.
>> Is there any similar way I can Browse a directory and get the whole
>> directory and copied it to the Jenkins workspace?
>>
>> Thanks In Advace
>> Rajesh
>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/882080f9-1c01-4e91-ba4f-0d2b75e351f2%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/882080f9-1c01-4e91-ba4f-0d2b75e351f2%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/-SeGUjJtI88/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6t_wx62jv3tFEiaHyzAPEW4EKvy68Nc6J3MnHwWYnhAg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6t_wx62jv3tFEiaHyzAPEW4EKvy68Nc6J3MnHwWYnhAg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAEusrPMKL81fBj-Wt0EfKY_T3pwoSp00jZjr4w-mG5tA-k-Zmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.