module.exports = {
  onPostBuild({ utils: { status: { show }, build: { failBuild } } }) {
    const error = new Error('try this')
    error.customType = 'this custom type'
    failBuild('Try that', { error })
    show({ summary: 'Test' })
  }
}

module.exports = {
  onPostBuild({ utils: { status: { show } } }) {
    show({ summary: 'Test' })
  }
}

Revert "Test"