<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hi there,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Awkward behaviour:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>My CMakeLists.txt do a find_package(Subversion)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Now, I have a Jenkins build server running under domain user XYZ<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>The Jenkins CMake plugin tells me it’s trying to do the following:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><pre style='background:white'><span style='font-size:8.5pt;color:black'> “c:\Program Files\CMake 2.8\bin\cmake.exe” -G "Visual Studio 9 2008"<o:p></o:p></span></pre><pre style='background:white'><span style='font-size:8.5pt;color:black'> -DCMAKE_BUILD_TYPE=Release "D:\path\to\where\jenkins\puts\mysource"<o:p></o:p></span></pre><pre style='background:white'><span style='font-size:8.5pt;color:black'><o:p> </o:p></span></pre><p class=MsoNormal><span lang=EN-GB>And fails with<o:p></o:p></span></p><pre style='background:white'><span style='font-size:8.5pt;color:black'><o:p> </o:p></span></pre><pre style='background:white'><span style='font-size:8.5pt;color:black'> -- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE) <o:p></o:p></span></pre><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB>But if I logon to that very same server with that very same domain user, check-out the code from svn elsewhere on the server disk and run the above command (adjusting for the different path to the source), then the find_package will work just fine.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Does anyone have a clue on what the problem might be?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>What might be causing the difference in behaviour?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Thanks in advance!<o:p></o:p></span></p></div></body></html>