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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhPjyW9F7Utj4JQ9gua%3DaLn0UNCVDUDZ-6F4a7q9SME-nA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to