You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running JSignPdf in automated CI environments with busybox shell, it fails with the following messages:
$> /opt/jsignpdf-2.2.2/jsignpdf.sh --versionreadlink: unrecognized option: eBusyBox v1.35.0 (2022-11-19 10:13:10 UTC) multi-call binary.Usage: readlink [-fnv] FILEDisplay the value of a symlink -f Canonicalize by following all symlinks -n Don't add newline -v VerboseError: Could not find or load main class net.sf.jsignpdf.JavaVersionCaused by: java.lang.ClassNotFoundException: net.sf.jsignpdf.JavaVersion/opt/jsignpdf-2.2.2/jsignpdf.sh: line 14: [: : integer expression expectedError: Unable to access jarfile /builds/JSignPdf.jar
This happens because jsignpdf.sh is not posix compliant and busybox has a hard time handling it.
To make it posix compliant the patch bellow should be applied:
When running JSignPdf in automated CI environments with busybox shell, it fails with the following messages:
This happens because
jsignpdf.sh
is not posix compliant and busybox has a hard time handling it.To make it posix compliant the patch bellow should be applied:
Then:
The text was updated successfully, but these errors were encountered: