<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[qmake install detect fail]]></title><description><![CDATA[<p dir="auto">Qt 5.10 x64 Win7 MSVC2013/MSVC2015<br />
I'm using <code>qmake</code>/<code>nmake</code>/<code>nmake install</code> to deploy a library that is a dependency using jenkins. The problem is that if copy fails (say the file is in use) the build will still be marked as successfull in jenkins. Do you have any idea how to force the failure if a file is not actually copied?</p>
<p dir="auto">Jenkis output:</p>
<pre><code>The process cannot access the file because it is being used by another process.
        0 file(s) copied.

C:\MyProject&gt;exit 0 
Finished: SUCCESS
</code></pre>
]]></description><link>https://forum.qt.io/topic/88885/qmake-install-detect-fail</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 17:50:38 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/88885.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Mar 2018 17:45:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to qmake install detect fail on Mon, 19 Mar 2018 08:45:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vronin">@<bdi>VRonin</bdi></a></p>
<p dir="auto">Just as idea: If you can't get the copy command give you successful failing information, how about checking the result aftewards? E.g. with <a href="http://doc.qt.io/qt-5/qmake-test-function-reference.html#exists-filename" target="_blank" rel="noopener noreferrer nofollow ugc">exists</a>.</p>
]]></description><link>https://forum.qt.io/post/448057</link><guid isPermaLink="true">https://forum.qt.io/post/448057</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Mon, 19 Mar 2018 08:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to qmake install detect fail on Mon, 19 Mar 2018 08:30:32 GMT]]></title><description><![CDATA[<p dir="auto">Yes, just a straight simualtion of the <code>cmd</code> console</p>
]]></description><link>https://forum.qt.io/post/448055</link><guid isPermaLink="true">https://forum.qt.io/post/448055</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Mon, 19 Mar 2018 08:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to qmake install detect fail on Fri, 16 Mar 2018 20:46:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">How are you doing that part in Jenkins ? Running a script ?</p>
]]></description><link>https://forum.qt.io/post/447797</link><guid isPermaLink="true">https://forum.qt.io/post/447797</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 16 Mar 2018 20:46:34 GMT</pubDate></item></channel></rss>