Hey,
I have a question: In jenkins, I start a shell script, which in one
line uses cmake to start. When running this script in Jenkins, then I
get this error message:
> ./pack.sh: line 81: cmake: command not found
But I compiled and installed cmake on that system. When I start "cmake
--version" from command line, then I get this
> cmake version 3.5.2
>
> CMake suite maintained and supported by Kitware (
kitware.com/cmake).
When I run "./pack.sh" from command line, then there is no such error,
that Cmake couldn't be found.
On the other side, when I remove the cmake version I compiled and
installed ('make install') myself and install the repo version ('yum
install cmake'), then my 'pack.sh' script finds cmake.
What's the problem?