On Wed, Sep 25, 2013 at 9:29 AM, Al Jay <[email protected]> wrote:
> I am using Jenkings 1.531 on Windows 8 for evaluation. I am trying to build
> VB6.NET Software with it.
> I installed the Visual Source Safe plugin as this still is the version
> control we are using. i set it as the SCM in the job I created
> I have a Job in which I use the version control path
> $/Solution/Project1/foo1/bar1
>
> In advanced Settings of the job I set the workfolder to be C:\Source\bar1
>
> In C:\Source I have a batch file which I am calling with jenkins as build
> action, which again calls vb6.exe C:\Source\bar1\bar.vpb /make
>
> Then Jenkins does the following: It creates the folders
> C:\Source\bar1\Solution\Project1\foo1\bar1 and checks out the files in this
> folder. So my whole project doesn't work.
>
> I would leave the workfolder to standard and just change my batch file, but
> then I had to change the bar.vbp project file which is referencing the
> libraries I need for compiling. All the other developers are checkoung out
> the source code at C:\Source. When my build system checksout out the bar.vbp
> that mans that the references to the libraries are broken because their
> bar.vbp is referencing them in C:\Source and if I wanted it to work on
> Jenkins, I would have to change it to
> C:\path_to_jenkins\jobs\jobname\workspace\Solution\Project1\foo1\bar1 or to
> C:\Source\bar1\Solution\Project1\foo1\bar1. Then again if I accidentally
> check in my bar.vbp to the Source Control and the other developers are
> checking it to their working folders, that means that they are no longer
> able to compile the project via Visual Studio.
>
> So my question in general is: How do I tell Jenkins to stop mirroring out
> the structure of the Source control and just check out the sources to be in
> C:\Source\bar1\?
With most source control systems you would want your project to use
relative paths and environment settings to find all of its components
so you could build in a different location (even without jenkins you
might want the workspace on a different drive or to have 2 slightly
different versions checked out at once. Unless this is a problem with
Visual Source Safe I'd try that approach instead of trying to make
jenkins do it the wrong way.
--
Les Mikesell
[email protected]
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.