I am building a pipeline and am running jest test's and wanted to create as jira/clickup ticket for the test's faild what's the best way to get this done
What i wanted to do is to capture the output of the jest test's and create a ticket in jira/clickup.
Below is the pipeline
image: atlassian/default-image:2
pipelines:
default:
- step:
name: "Install"
image: node:16
caches:
- node
script:
- npm install
- parallel:
- step:
name: "Test"
image: node:16
caches:
- node
script:
- npm test
the package.json is as below
{
"name": "node-app-jest",
"version": "1.0.0",
"description": "Node app with Jest test's",
"main": "server.js",
"scripts": {
"test": "jest --verbose --runInBand --forceExit",
"start": "node server"
},