Browse Source

Return JSON payload with digest

expose_links
Drew Short 5 years ago
parent
commit
2e5f5ccc3f
  1. 6
      assets/out

6
assets/out

@ -64,4 +64,8 @@ echo "Target: ${rclone_target}"
rclone copy "${rclone_source}" "${rclone_target}" --config /opt/rclone/config/.rclone.conf
echo "${BUILD_PIPELINE_NAME}-${BUILD_ID}" | md5sum | cut -d' ' -f1 >&3
jq -n "{
version: {
digest: $((echo -n "md5:"; echo "test" | md5sum) | cut -d ' ' -f1 | jq -R .)
}
}" >&3
Loading…
Cancel
Save