Can you confirm whether cmake is in the path?
echo $PATH
which cmake
./pack.sh
Cheers
On Friday, 3 June 2016 11:41:53 UTC+2, Kristian X wrote:
>
> 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?
>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/0c675089-6c60-4671-9b27-d89605b27b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.