Skip to content
  • 0 Votes
    3 Posts
    618 Views
    S

    The Jenkins instance is hosted on a different server and is currently connected to several linux slaves that build properly. It's just the macos slave that has the issue.

    It seems to be slow in both qmake and make steps.

    We just found a solution that requires us to switch the user to itself before running the command.

    sudo -u <loggedinuser> -i bash /script/containging/build/commands.sh

    I'm not sure why this has to be done since we are already logged in as the user that we are switching to. My guess is that Apple enables certain restrictions for remote users.

  • 0 Votes
    7 Posts
    2k Views
    V

    Hello. We have exactly the same problem and so far we haven't found a solution. Would it be too much trouble to send us that xml conversion project?

    Thank you very much.

  • 0 Votes
    2 Posts
    1k Views
    A

    @aheimberger Solved it by myself. I had to use the cfg directory, for what I hade two possiblities. Either using all cfg files within the cppcheck cfg directory or only the specific one for qt.

    cmd to use all cfg-files in director cppcheck/cfg, needs suppress of missing includes:
    -check-config --suppress=missingIncludeSystem .

    cmd to use single qt cfg file:
    --library=/home/ahe/Projects/cppcheck/cfg/qt.cfg

    See cppcheck:
    https://github.com/danmar/cppcheck
    https://github.com/danmar/cppcheck/tree/master/cfg