Package hudson.plugins.cmake
Class BuildToolEntryParser
- All Implemented Interfaces:
FilePath.FileCallable<String>,Serializable,ControllerToAgentFileCallable<String>,org.jenkinsci.remoting.RoleSensitive
Gets the value of the
"CMAKE_MAKE_PROGRAM" entry from a cmake cache
file.- Author:
- Martin Weber
- See Also:
-
Constructor Details
-
BuildToolEntryParser
public BuildToolEntryParser()
-
-
Method Details
-
invoke
public String invoke(File cmakeCacheFile, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Parses the cache file and returns value of the"CMAKE_MAKE_PROGRAM"entry.- Returns:
- the entry value or
nullif the file could not be parsed - Throws:
IOExceptionInterruptedException
-