module.exports = {
  onSuccess({ utils: { status: { show }, build: { failBuild } } }) {
    failBuild('try this')
    show({ summary: 'Test' })
  }
}

@@ -20,15 +20,17 @@
   on
-Success
+PostBuild
 (%7B u
@@ -57,63 +57,15 @@
 ow %7D
-, build: %7B failBuild %7D %7D %7D) %7B%0A    failBuild('try this')
+ %7D %7D) %7B
 %0A   

Revert "Test"