Skip to content
Snippets Groups Projects
Commit 980bc497 authored by Lars Bilke's avatar Lars Bilke
Browse files

[Jenkins] Fixed eve deploy.

- modulecmd is in another directory
- added fatal error when not found on eve
parent 65ffef7b
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ find_program(PIP pip)
find_program(PANDOC_CITEPROC pandoc-citeproc)
find_program(MODULE_CMD modulecmd
PATHS /usr/local/modules/3.3.4-1/Modules/3.3.4/bin)
PATHS /usr/local/modules/3.2.10-1/Modules/3.2.10/bin)
######################
### Find libraries ###
......
......@@ -22,6 +22,10 @@ if(MODULE_CMD)
install(FILES ${PROJECT_BINARY_DIR}/module.lua DESTINATION ${MODULE_DIR}
RENAME ${MODULE_NAME}.lua)
endif()
else()
if("${HOSTNAME}" MATCHES "frontend.*")
message(FATAL_ERROR "MODULE_CMD not found but required on eve frontends!")
endif()
endif()
set(README_PLATFORM_INSTRUCTIONS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment