avoid cps error when calling post actions
avoid cps error when calling post actions

refs DE-624

Jenkins CPS transformation doesn’t correctly transform the Closure inside of the Expando object, but we can use a Map instead that has the same functionality (the property can be accessed using the dot operator).

Test Plan:
1. Build summary report works

Change-Id: Ic3446afa20f6c6ce5aac95e5e0cda06edfa39ef5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262844
Reviewed-by: Kyle Rosenbaum <08c6582752644f4eca90309d6d9805aeb3128ceb@instructure.com>
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
QA-Review: Aaron Ogata <11ccf682c06d1508642f943a3962a1c3d00b8e44@instructure.com>
Product-Review: Aaron Ogata <11ccf682c06d1508642f943a3962a1c3d00b8e44@instructure.com>

instructure/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms