We are facing issue with openssl on mainframe agent. It is not generating
checksums. Can you please help us on this.

Jenkins version: 2.319.3

Please find the script details below.

release ="17.20.00.XX"


ORIG="$(echo $_BPXK_AUTOCVT)"
export _BPXK_AUTOCVT="ON"
sum_sha256="$(/rsusr/miniconda/bin/openssl sha256
trdtgenj-zos.32_${release}.pax | awk '{print $2}')"
sum_sha1="$(/rsusr/miniconda/bin/openssl sha1
trdtgenj-zos.32_${release}.pax | awk '{print $2}')"
sum_md5="$(/rsusr/miniconda/bin/openssl md5 trdtgenj-zos.32_${release}.pax
| awk '{print $2}')"
export _BPXK_AUTOCVT="$ORIG"

echo "SHA256: $sum_sha256"
echo "SHA1: $sum_sha1"
echo "MD5: $sum_md5"
if [[ "${sum_sha256}" == "" || "${sum_sha1}" == "" || "${sum_md5}" == "" ]]
then
  echo "failure calculating checksums"
  exit 99
fi


Thanks.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAJWGB6ryZMHB%2B0p5u7x2jp%3DwbTujGRNG3sZKM%2BbuV2SMDi7%2BnQ%40mail.gmail.com.

Reply via email to