[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread odagen...@jsitelecom.com (JIRA)















































Olivier Dagenais
 resolved  JENKINS-20591 as Not A Defect


Polling Does not happen with the latest TFS plugin
















After working privately with the reporter, it was determined to be a configuration error:


	TEE CLC needed to be installed on the master (and in the path)
	The EULA needed to be accepted by the user running Jenkins on the master







Change By:


Olivier Dagenais
(15/Nov/13 8:23 PM)




Status:


Open
Resolved





Assignee:


OlivierDagenais
anuraghReddy





Resolution:


NotADefect



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread anuragh.g2...@gmail.com (JIRA)















































anuragh Reddy
 closed  JENKINS-20591 as Not A Defect


Polling Does not happen with the latest TFS plugin
















Thanks Oli





Change By:


anuragh Reddy
(15/Nov/13 8:36 PM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread odagen...@jsitelecom.com (JIRA)














































Olivier Dagenais
 commented on  JENKINS-20591


Polling Does not happen with the latest TFS plugin















Did you restart the agent/service on the slave?  A change in environment variables isn't always propagated to running processes and often you need to restart the process and maybe even the process tree.

What happens if you log on as user XXX on the slave, switch to the C:\Users\XXX\workspace\-Build folder and run tf?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread anuragh.g2...@gmail.com (JIRA)














































anuragh Reddy
 updated  JENKINS-20591


Polling Does not happen with the latest TFS plugin
















If i Execute this command on my slave it works fine

"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://.visualstudio.com/defaultcollection 





Change By:


anuragh Reddy
(14/Nov/13 6:31 PM)




Environment:


JenkinsInstalledonmyMac10.8andBuilding.NetprojectonWindows7
slave
.TFSPluginversion:3.0.1





Description:


1.IconfiguredthepollingSCMonmyBuildjob.2.Hereistheoutputorstacktracefrommy
pollinglog
StartedonNov14,201310:59:07AM$C:\ProgramFiles(x86)\MicrosoftVisualStudio11.0\Common7\IDE\TF.exehistory$/XXX-noprompt-version:C180~D2013-11-14T17:59:08Z-recursive-format:brief-server:https://.visualstudio.com/defaultcollectionFATAL:CannotrunprogramC:\ProgramFiles(x86)\MicrosoftVisualStudio11.0\Common7\IDE\TF.exe:error=2,Nosuchfileordirectoryjava.io.IOException:CannotrunprogramC:\ProgramFiles(x86)\MicrosoftVisualStudio11.0\Common7\IDE\TF.exe:error=2,Nosuchfileordirectory	atjava.lang.ProcessBuilder.processException(ProcessBuilder.java:478)	atjava.lang.ProcessBuilder.start(ProcessBuilder.java:457)	athudson.Proc$LocalProc.init(Proc.java:244)	athudson.Proc$LocalProc.init(Proc.java:216)	athudson.Launcher$LocalLauncher.launch(Launcher.java:773)	athudson.Launcher$ProcStarter.start(Launcher.java:353)	athudson.plugins.tfs.TfTool.execute(TfTool.java:99)	athudson.plugins.tfs.model.Server.execute(Server.java:111)	athudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139)	athudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453)	athudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)	athudson.scm.SCM.poll(SCM.java:373)	athudson.model.AbstractProject._poll(AbstractProject.java:1567)	athudson.model.AbstractProject.poll(AbstractProject.java:1490)	athudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)	athudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)	athudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)	atjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)	atjava.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	atjava.util.concurrent.FutureTask.run(FutureTask.java:138)	atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)	atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)	atjava.lang.Thread.run(Thread.java:680)Causedby:java.io.IOException:error=2,Nosuchfileordirectory	atjava.lang.UNIXProcess.forkAndExec(NativeMethod)	atjava.lang.UNIXProcess.init(UNIXProcess.java:53)	atjava.lang.ProcessImpl.start(ProcessImpl.java:91)	atjava.lang.ProcessBuilder.start(ProcessBuilder.java:452)	...21moreDone.Took26msNochanges




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread anuragh.g2...@gmail.com (JIRA)














































anuragh Reddy
 created  JENKINS-20591


Polling Does not happen with the latest TFS plugin















Issue Type:


Bug



Assignee:


redsolo



Components:


tfs



Created:


14/Nov/13 6:29 PM



Description:


1.I configured the polling SCM on my Build job.
2.Here is the output or stack trace from my 

Started on Nov 14, 2013 10:59:07 AM
$ "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://.visualstudio.com/defaultcollection 
FATAL: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory
java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory
	at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
	at hudson.Proc$LocalProc.init(Proc.java:244)
	at hudson.Proc$LocalProc.init(Proc.java:216)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
	at hudson.Launcher$ProcStarter.start(Launcher.java:353)
	at hudson.plugins.tfs.TfTool.execute(TfTool.java:99)
	at hudson.plugins.tfs.model.Server.execute(Server.java:111)
	at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139)
	at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453)
	at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
	at hudson.scm.SCM.poll(SCM.java:373)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1567)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1490)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.init(UNIXProcess.java:53)
	at java.lang.ProcessImpl.start(ProcessImpl.java:91)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
	... 21 more
Done. Took 26 ms
No changes




Environment:


Jenkins Installed on my Mac 10.8 and Building .Net project on Windows 7.

TFS Plugin version:3.0.1




Fix Versions:


current



Project:


Jenkins



Priority:


Critical



Reporter:


anuragh Reddy

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread anuragh.g2...@gmail.com (JIRA)














































anuragh Reddy
 commented on  JENKINS-20591


Polling Does not happen with the latest TFS plugin















hi Olivier,

I have set the path on master.Also i have set the path to point to tf.exe on Slave machine.Now I'm not able to build it. 

java.io.IOException: Cannot run program "tf" (in directory "C:\Users\XXX\workspace\-Build"): CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(Unknown Source)
	at hudson.Proc$LocalProc.init(Proc.java:244)
	at hudson.Proc$LocalProc.init(Proc.java:216)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
	at hudson.Launcher$ProcStarter.start(Launcher.java:353)
	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:998)
	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:965)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1$1.run(Engine.java:63)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.init(Unknown Source)
	at java.lang.ProcessImpl.start(Unknown Source)
	... 16 more



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread anuragh.g2...@gmail.com (JIRA)














































anuragh Reddy
 commented on  JENKINS-20591


Polling Does not happen with the latest TFS plugin















Oliver,
After the restart of master and slave I'm successfully able to build the project,But in the TFS polling log the message still remains the same.

Started on Nov 14, 2013 10:59:07 AM
$ "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://.visualstudio.com/defaultcollection 
FATAL: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory
java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory
	at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
	at hudson.Proc$LocalProc.init(Proc.java:244)
	at hudson.Proc$LocalProc.init(Proc.java:216)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
	at hudson.Launcher$ProcStarter.start(Launcher.java:353)
	at hudson.plugins.tfs.TfTool.execute(TfTool.java:99)
	at hudson.plugins.tfs.model.Server.execute(Server.java:111)
	at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139)
	at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453)
	at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
	at hudson.scm.SCM.poll(SCM.java:373)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1567)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1490)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.init(UNIXProcess.java:53)
	at java.lang.ProcessImpl.start(ProcessImpl.java:91)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
	... 21 more
Done. Took 26 ms
No changes



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread odagen...@jsitelecom.com (JIRA)















































Olivier Dagenais
 assigned  JENKINS-20591 to Olivier Dagenais



Polling Does not happen with the latest TFS plugin
















Change By:


Olivier Dagenais
(15/Nov/13 2:29 PM)




Assignee:


redsolo
OlivierDagenais



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [tfs] (JENKINS-20591) Polling Does not happen with the latest TFS plugin

2013-11-15 Thread odagen...@jsitelecom.com (JIRA)














































Olivier Dagenais
 commented on  JENKINS-20591


Polling Does not happen with the latest TFS plugin















The default value for the TF command line executable setting is tf.  It looks like you might have instead set it to an absolute path that's only valid on Windows.

After making sure the value is set to tf, can you try installing the Team Explorer Everywhere CLC on the master and making sure the tf it installs is in the path for the user running Jenkins?  On the Windows slave, make sure TF.exe is also in the path for the user running the agent.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.