Hi

The plugin is not being  actively maintained as in adding new features
and such, ive tried to fix crashes and other bugs. As I dont use TFS
at work, i havent tested it for real,  which means Im not sure how it
copes in the long run and under stress. Perhaps someone on the list
has used it and either could let me know if it works or not.


Could you please reproduce the exact command line executions in a
command prompt and see if you get the same results? If so then it is a
problem with the plugin (perhaps some tool args has been left out).
If that works, could you then enter the same commands into a Batch
build step on Jenkins and see if you get the same results= If so, then
it is a problem how Jenkins is run (user, acl, etc).

Regards
//Erik

2012/9/28 Andrew Gray <andrew.paul.g...@gmail.com>:
> Hi All,
>
> Just wondering if anyone else has had the below issue.  I can see that is it
> talking to TFS but it is just refuses to get the latest version of code from
> the server into the Jenkins job workspace.
>
> What am I doing wrong? Has anyone managed to get this working?
>
> Also, as an aside: Is this plugin still being maintained?
>
> Regards,
>
> Andrew
>
>
>
> ---------- Forwarded message ----------
> From: Andrew Gray <andrew.paul.g...@gmail.com>
> Date: 27 September 2012 14:14
> Subject: Question about TFS Plugin
> To: eramf...@gmail.com
>
>
> Hi Eric,
>
> I am using the TFS plugin for the first time.  May I ask some questions?
>
>
> Background
> I am automating the build and have written a series of DOS batch scripts to
> make life easier.  This is currently necessary for a series of project
> specific reasons (unfortunately). I am trying string these scripts together
> in a Jenkins job.  The first step is to checkout the code to my Jenkins
> workspace.
>
> I already have one TFS workspace set up on my development machine that is
> not pointing to my Jenkins workspace which I am using for general bug fixing
> and development
>
> If I just kick off the build I get the following console output (credentials
> masked)
>
> Started by user Andrew Gray
> Building on master in workspace C:\JenkinsService\workspace\LocalCheckout
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" workspaces -format:brief
> -server:http://ndevic-ids07v:8080/tfs ********
> No workspace matching *;tfssetup on computer OVLM4600G3Z4CT1 found in Team
> Foundation Server http://ndevic-ids07v:8080/tfs.
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" workspace -new Hudson-LocalCheckout;nde\tfssetup
> -noprompt -server:http://ndevic-ids07v:8080/tfs ********
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" workfold -map $/TollTransitions/Source/Support .
> -workspace:Hudson-LocalCheckout -server:http://ndevic-ids07v:8080/tfs
> ********
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" get . -recursive -version:D2012-09-27T04:06:58Z
> -noprompt ********
> All files are up to date.
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" history $/TollTransitions/Source/Support -noprompt
> -version:D2012-09-27T03:35:00Z~D2012-09-27T04:06:59Z -recursive
> -format:detailed -server:http://ndevic-ids07v:8080/tfs ********
> No history entries were found for the item and version combination
> specified.
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" history . -recursive -stopafter:1 -noprompt
> -version:WHudson-LocalCheckout;domain\username -format:brief ********
> No history entries were found for the item and version combination
> specified.
> Finished: SUCCESS
>
>
> The plugin appears to be doing all the right things, but it is saying that
> "All files are up to date", why is the plugin not checking out the files for
> this brand new workspace (Hudson-LocalCheckout)?
>
> If I first create a new workspace in Visual Studio mapping the project root
> to the Jenkins workspace of a new job, I get the following console output
> when I kick off a build (credentials masked):
>
> Started by user Andrew Gray
> Building on master in workspace C:\JenkinsService\workspace\LocalCheckout
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" workspaces -format:brief
> -server:http://ndevic-ids07v:8080/tfs ********
> No workspace matching *;tfssetup on computer OVLM4600G3Z4CT1 found in Team
> Foundation Server http://ndevic-ids07v:8080/tfs.
> [LocalCheckout] $ "C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\Common7\IDE\tf.exe" workspace -new Hudson-LocalCheckout;nde\tfssetup
> -noprompt -server:http://ndevic-ids07v:8080/tfs ********
> The path C:\JenkinsService\workspace\LocalCheckout is already mapped in
> workspace OVLM4600G3Z4CT1_1;domainYYY\andrewg
> [http://ndevic-ids07v:8080/tfs/xxxxxxxx].
> FATAL: Executable returned an unexpected result code [100]
> ERROR: null
> Finished: FAILURE
>
>
> Kind Regards,
>
> Andrew
>

Reply via email to