Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved qmake install detect fail

    Tools
    3
    4
    617
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VRonin
      VRonin last edited by VRonin

      Qt 5.10 x64 Win7 MSVC2013/MSVC2015
      I'm using qmake/nmake/nmake install 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?

      Jenkis output:

      The process cannot access the file because it is being used by another process.
              0 file(s) copied.
      
      C:\MyProject>exit 0 
      Finished: SUCCESS
      

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        How are you doing that part in Jenkins ? Running a script ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • VRonin
          VRonin last edited by

          Yes, just a straight simualtion of the cmd console

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          aha_1980 1 Reply Last reply Reply Quote 0
          • aha_1980
            aha_1980 Lifetime Qt Champion @VRonin last edited by

            @VRonin

            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 exists.

            Qt has to stay free or it will die.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post