Re: Dependencies of classes between two subversion checkouts (MsBuild)

2014-10-13 Thread Menos II
Ah, I overlooked this options >.> Thanks, it seems to have worked! Op vrijdag 10 oktober 2014 17:33:36 UTC+2 schreef Corneil du Plessis: > > The Jenkins subversion plugin allows you to checkout more than one > repository folder into multiple workspace locations. > Obviously they should not overla

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread Richard Bywater
The problem will most likely be that sudo requires (in the default configuration) a password to be entered before sudo commands can be run. The only way to fix this is probably going to be to get the guys who have access to the /etc/sudoers file to allow the user that needs to run the sudo command

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread niraj nandane
Hi, you are right . The user under which i am running jenkins on that slave have all permission that are needed for build. The build gets completed if i go and run script on that slave. But if i run same script through jenkins ,it is showing the error On Mon, Oct 13, 2014 at 2:41 PM, Richard Bywat

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread Richard Bywater
Hmm my sudo is a bit rusty - but perhaps you could list the output of "sudo -ll" which I think will make it a bit easier to read. Also what command/s is the build doing when it gets prompted (and I assume Jenkins is running as the user skhandeb?) Richard. PS Please keep discussions on the list a

unable to check out svn: E200015

2014-10-13 Thread Xiao Yue
Recently we used VisualSVN Server to set up the repositories. And the credentials method is Integrated Windows Authentication. So it's controlled by Active Directory. In the jenkins project configuration, I entered my login id as the credentials. And also for the "Additional Credential", I hav

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread niraj nandane
output of sudo -l (habdbsync) NOPASSWD: ALL, (habdbsync) !/bin/sh, !/bin/ksh, !/bin/csh, !/bin/tcsh, !/bin/zsh, !/bin/bash, (habdbsync) !/bin/su, (habdbsync) !/usr/bin/ssh, !/usr/bin/scp, !/usr/bin/slogin (root) /bin/chown habdbsync /devbuild/* (root) /bin/chown -R root\:root /devbuild/

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread niraj nandane
sudo -u root chown habdbsync This stmt is making above "no tty" output On Mon, Oct 13, 2014 at 4:33 PM, niraj nandane wrote: > output of sudo -l > (habdbsync) NOPASSWD: ALL, (habdbsync) !/bin/sh, !/bin/ksh, !/bin/csh, > !/bin/tcsh, !/bin/zsh, !/bin/bash, (habdbsync) !/bin/su, > (habdbsync

Git pull error from jenkins script console

2014-10-13 Thread madhur . tewani
I want to do git pull from jenkins script console (or jenkins cli) using groovy script, but I'm getting error as follows: Mon Oct 13 13:40:45 IST 2014 || git pull || 2 IN: ERR: /usr/lib/git-core/git -pull: 11: .: git-sh-setup: not found The git-sh-setup file is present and also I have set the p

Re: Git pull error from jenkins script console

2014-10-13 Thread corneil.duples...@gmail.com
Are you using the same user in terminal as jenkins is using to execute the scripts? On 13 October 2014 13:11, wrote: > I want to do git pull from jenkins script console (or jenkins cli) using > groovy script, but I'm getting error as follows: > > Mon Oct 13 13:40:45 IST 2014 || git pull || 2 IN:

Re: Git pull error from jenkins script console

2014-10-13 Thread madhur . tewani
Yes, even with the same user as in terminal & in jenkins (i.e. jenkins user created on installation of jenkins) this problem happens On Monday, October 13, 2014 5:23:33 PM UTC+5:30, Corneil du Plessis wrote: > > Are you using the same user in terminal as jenkins is using to execute the > scripts

Publish JUnit test result report

2014-10-13 Thread manasa a
Hi, When am running build in jenkins, am getting following error. error: "Test reports were found but none of them are new. Did tests run?" Can anyone suggest a solution...THANKS IN ADVANCE -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group

Can't get slaves running

2014-10-13 Thread Niksan
I'm currently on v1.583 and the same happened on v1.571 while using the launch agent from browser on slave option I cannot get it to work, all the slaves I'd like to run are on external machines to the server and I get the following Java error when running. java.lang.NullPointerException at

How to add a predefined paramter into the strem selector

2014-10-13 Thread Alex Brodov
I'm using in some builds the UCM ClearCase option (Source Code Mamagement) I have to input the view tag, view path and the stream selector. How can i put a parameter inside the stream selector instead of the stream itself. For example: now i have in the stream selector: `RavenApp2.0.0.0_Integ@/v

Re: Can't get slaves running

2014-10-13 Thread Niksan
Ok, so installing Java8 JRE on the client machines made this work, who knew. :) -- 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...@goo

Build Matrix plugin is not starting jobs

2014-10-13 Thread Jeffrey Parker
I have several jobs in Jenkins that are kicked off by a job that uses the build matrix plugin and I am encountering some problems with that plugin. Basically when I kick off one of the build matrix jobs, then kick off another before the first one completes some of the jobs in the build matrix n

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread Richard Bywater
>From my rudimentary knowledge, it doesn't look like NOPASSWD has been specified for running that command and so I'd expect it to prompt for the password (and hence get the issue you are seeing). I could be wrong though as I don't have a setup available to me which has similar sudoers settings :)

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread Jeffrey Parker
That is exactly what the problem is, but the bigger issue is running sudo commands in a script like this is generally bad practice. The more correct way to do it is to make sure that all files are already owned by the correct user or that the user that is running the command has permission to c

Re: Git pull error from jenkins script console

2014-10-13 Thread Chanda Unmack
On Mon, Oct 13, 2014 at 5:03 AM, wrote: > Yes, even with the same user as in terminal & in jenkins (i.e. jenkins > user created on installation of jenkins) this problem happens > > On Monday, October 13, 2014 5:23:33 PM UTC+5:30, Corneil du Plessis wrote: >> >> Are you using the same user in term

Disabling archiving artifacts

2014-10-13 Thread John D. Ament
Hi, I have a job, in which I use Artifactory for storing artifacts. I don't particularly care about archiving artifacts and would prefer to turn it off as it serves no purpose for me. I tried setting the following configuration when archiving: Files to archive: (blank) Excludes: ** (check) Do

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread John D. Ament
are you sure it's NOPASSWD? Seems like you need to turn off require tty in your sudoers file. On Monday, October 13, 2014 4:21:39 PM UTC-4, Jeffrey Parker wrote: > > That is exactly what the problem is, but the bigger issue is running sudo > commands in a script like this is generally bad pract

Re: sudo: no tty present and no askpass program specified jenkins

2014-10-13 Thread niraj nandane
Hi All, I got solution for this by using SUDO_ASKPASS program. Thanks, Niraj On Tue, Oct 14, 2014 at 6:21 AM, John D. Ament wrote: > are you sure it's NOPASSWD? Seems like you need to turn off require tty > in your sudoers file. > > > On Monday, October 13, 2014 4:21:39 PM UTC-4, Jeffrey Parker

Can anyone help me for following scenario

2014-10-13 Thread niraj nandane
I have one master machine and 10 slave machines. I want to build my source code for all this slave machine.Currently all 10 machines and master are nfs mounted . I want to checkout my source code from cvs on master and use that for different platforms.For achieving this i have created 10 free styl

skipping scm step on condition in jenkins

2014-10-13 Thread niraj nandane
i want to implement a project in which i should be able to checkout a code based on some condtion.say checking of timestamp or environment variable. Can anyone help me . -- Thanks and regards-- Niraj Nandane(Vit pune) -- You received this message because you are subscribed to the Google Group

Re: Git pull error from jenkins script console

2014-10-13 Thread madhur . tewani
I've tried with full paths but it gives error that can't execute /path/to/git from /path/to/repo (ubuntu environment). How should I set path at the beginning of script? Script is to be made in groovy to be executed from jenkins script console. On Tuesday, October 14, 2014 3:27:00 AM UTC+5:30, C

Re: Not able to setup PVCS based project on jenkins

2014-10-13 Thread chinmaya hoshing
Hi , Please can anybody help me out Thanks & Regards C Hoshing On Friday, October 10, 2014 6:09:18 PM UTC+5:30, chinmaya hoshing wrote: > > Hi , > > I have initiated Jenkins deployment activity and want setup and build a > project which is PVCS based . > Till now I have installed jenkins on