#yeah I believe so
1 messages · Page 1 of 1 (latest)
naisss... I missed the 'echo' builtin though 🙂 Used most for debugging and runtime logging
yepp, that works. A pitty it's not a 1-to-1 alternative though.
Also, doesn't dagger shell like nested quotation marks, or just me?
with-exec -- sh -xc 'test -d ${BUILD_DIR}/allure-report/history && echo Backing up history && cp -rp ${BUILD_DIR}/allure-report/history/ "${BUILD_DIR}" || echo History not present' |
this was prematurely terminating execution w/o any errors, with exit_code=0. Until I removed " (quotes) around he ${BUILD_DIR} -- then the script started working again