Re: TF30063: You are not authorized to access http://

2014-03-09 Thread Tam Minh
Note that I use VS2012 and TFS 2012 -- 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:

Re: Copy files from network drive !!!

2014-03-09 Thread Hiteswar
Thanks for sharing input . Is there any plugin available at Jenkins ? For now , I used smbclient command . Regards Hiteswar Sent from my iPhone On Mar 10, 2014, at 3:20 PM, Baptiste Mathus wrote: > Depends what you call a network drive. As always, just make sure you're able > to do it manual

Re: Copy files from network drive !!!

2014-03-09 Thread Baptiste Mathus
Depends what you call a network drive. As always, just make sure you're able to do it manually on some slave command line, then use that command in a Jenkins job. Side note: don't use node name if you want to restrict which slave your build can run on. Define a corresponding label and use it even

Copy files from network drive !!!

2014-03-09 Thread Hiteswar
Hi Jenkins gang , Is any way to copy files from network drive to Jenkins slave 's workspace during build . Regards Hiteswar Sent from my iPhone -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receivi

TF30063: You are not authorized to access http://

2014-03-09 Thread Tam Minh
Hi all, I'm new to Jenkins, I try to configure my .NET project on Jenkins, but when I link Jenkins to TFS source. I always get the following error: *TF30063: You are not authorized to access http://* I also attach my configuration for your review. Please help to shed a light. Many thanks. No

naginator or periodic reincarnation plugin for child jobs which are triggered by parent jobs

2014-03-09 Thread Kishore RP
We have a three tier structure of jobs like main job child level1 job1-- this and the below run on multiple slaves parallelly child level2 job1 child level2 job2 Enabled naginator or periodic reincarnation plugin in "child level2 job2" or "child lev

Re: [jenkins-1.553] - TF30063: You are not authorized to access TFS

2014-03-09 Thread Tam Minh
Just adding some info. I already link TFS source to TeamCity successful with these info. I just concern about the domain main, I'm not sure if it's correct. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and st

Re: [jenkins-1.553] - TF30063: You are not authorized to access TFS

2014-03-09 Thread Tam Minh
Just adding some info. I already link TFS source to TeamCity successful with these info. I just concern about the domain main, I'm not sure if it's correct. On Monday, March 10, 2014 9:34:28 AM UTC+7, Tam Minh wrote: > > Hi all, > > I'm new to Jenkins, I try to configure my .NET project on Jenki

[jenkins-1.553] - TF30063: You are not authorized to access TFS

2014-03-09 Thread Tam Minh
Hi all, I'm new to Jenkins, I try to configure my .NET project on Jenkins, but when I link Jenkins to TFS source. I always get the following error: *TF30063: You are not authorized to access http://* I also attach my configuration for your review. Please help to shed a light. Many thanks.

Re: Getting rid of multiple workspaces for a job

2014-03-09 Thread Christian Willman
Small correction, it means ABC was running in parallel, so Jenkins created separate workspaces to isolate each parallel execution. Jenkins will use a job's singular workspace across serial builds, even if each build occurred on a different executor. On Thursday, March 6, 2014 10:06:35 PM UTC-5,

Re: Is it possible to have non editable execute shell for users?

2014-03-09 Thread Christian Willman
Unfortunately it is not possible. A common suggestion is to template out your specific job type, but even then, there is no authorization strategy to prevent users from simply creating a new FreestyleBuild with a console build step. Our organization has the same requirements -- we cannot allow

Re: Running a job while slave is offline

2014-03-09 Thread Daniel Beck
Don't run the job on the machine you need to disconnect. Instead, run it somewhere else, and have the build script connect to the actual build/test machine using e.g. SSH and run the commands from there. On 08.03.2014, at 13:08, EK wrote: > Hi ... > > I need to run a job which might cause sla

Re: Running a job while slave is offline

2014-03-09 Thread Christian Willman
Hi EK, What's the purpose of this exercise? It's very strange indeed. I guess you could add two System Groovy scripts to the particular job. The first script is the first builder in the job's builders list, and it grabs a reference to the slave via jenkins.model.Jenkins.getInstance()#getComput

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread dev123
A my bad I of course had to call the correct job, it now works thanks :-) On Sunday, March 9, 2014 11:47:20 PM UTC+1, dev123 wrote: > > Yes I did a check in allow concurrent execution. > > Now when I run mvn clean hpi:run it starts the jobs in parallel on the > available executors, but its spawns

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread dev123
Yes I did a check in allow concurrent execution. Now when I run mvn clean hpi:run it starts the jobs in parallel on the available executors, but its spawns jobs infinitely and the text: Done in: " + object.getTime() is never printed. And I have not even pressed the build button. Why do I

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread Daniel Beck
Since you seem to be triggering multiple builds of the same project, did you enable the project for parallel execution of multiple builds? On 09.03.2014, at 23:21, Daniel Beck wrote: > If you have the executors, the builds should run in parallel -- You received this message because you are su

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread Daniel Beck
If you have the executors, the builds should run in parallel. Given the following script in the Script Console (and jobs named wait1..wait4 with different durations): --- def futures = [] [1, 2, 3, 4].each { futures.add Jenkins.instance.getItemByFullName("wait${it}").scheduleBuild2(0) } futures

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread dev123
Not sure I understand I now do: for (int i = 0; i < 4; i++) { try { QueueTaskFuture scheduleBuild2 = project.scheduleBuild2(0, new Cause.UserCause(), myActions[i]); queue.add(scheduleBuild2); } catch (Exception e) { throw new AbortException(e.getMessage())

Re: Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread Daniel Beck
Don't immediately call .get(), instead assign the Future returned from scheduleBuild2 to a variable. Only .get() once you're willing to wait for the build to complete. On 09.03.2014, at 22:27, dev123 wrote: > In a jenkins plugin I am writing I need to run 5 jobs in parallel. Currently > I do

Schedule a build in parallel from code (Jenkins API)

2014-03-09 Thread dev123
In a jenkins plugin I am writing I need to run 5 jobs in parallel. Currently I do (sequentially): for (int i = 0; i < 4; i++) { try { build = project.scheduleBuild2(0, new Cause.UserCause(), myActions[i]).get(); } catch (Exception e) { throw new AbortException(e.g