From a67814b9b11fbe5f87722bbd5ad39a4ff9ff1ad7 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Thu, 24 Feb 2022 00:49:06 +0000 Subject: [PATCH] [AAE-7345] automatic JIRA creation when e2e fails (#3489) * automatic JIRA creation when e2e fails * create issue * env var * make Andras happy * detect secret fix * [ci:force] * fix cspell * lint * fix * update baseline * fix lint * Update e2e.env.yml * log * add log links * fix secret base * only on failure * fix baseline * try again * add description * final version * exclude failing e2e * exclude --- package-lock.json | 91 +++++++++++++++++++++++++++++++++++++++++++---- package.json | 3 +- 2 files changed, 87 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index ee5e34fb8..0f72983e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8504,6 +8504,16 @@ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", "dev": true }, + "atlassian-jwt": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/atlassian-jwt/-/atlassian-jwt-2.0.2.tgz", + "integrity": "sha512-HgG2p+gJeEqKREnPynEDy76UoShF01jTYMSe0NlRL2rEqXBNDzJiiCyUP7P2cbxcRmI4OC8g40zJjqftFNJ/4A==", + "dev": true, + "requires": { + "jsuri": "^1.3.1", + "lodash": "^4.17.21" + } + }, "atob": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", @@ -10476,15 +10486,16 @@ "dev": true }, "chai": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.4.tgz", - "integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", "dev": true, "requires": { "assertion-error": "^1.1.0", "check-error": "^1.0.2", "deep-eql": "^3.0.1", "get-func-name": "^2.0.0", + "loupe": "^2.3.1", "pathval": "^1.1.1", "type-detect": "^4.0.5" } @@ -20510,6 +20521,53 @@ } } }, + "jira.js": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/jira.js/-/jira.js-2.11.0.tgz", + "integrity": "sha512-JeJBU2H9JXvvW/BO6hnFXb/gDYoefEe203/+NS2eyy07gtawPuZwNvn1dukNsDs6dd1NaU0CtGRtPaR095ng4A==", + "dev": true, + "requires": { + "atlassian-jwt": "^2.0.2", + "axios": "^0.26.0", + "form-data": "^4.0.0", + "oauth": "^0.9.15", + "tslib": "^2.3.1" + }, + "dependencies": { + "axios": { + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.0.tgz", + "integrity": "sha512-lKoGLMYtHvFrPVt3r+RBMp9nh34N0M8zEfCWqdWZx6phynIEhQqAdydpyBAAG211zlhX9Rgu08cOamy6XjE5Og==", + "dev": true, + "requires": { + "follow-redirects": "^1.14.8" + } + }, + "follow-redirects": { + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "dev": true + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + } + } + }, "jpeg-js": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.3.tgz", @@ -20782,6 +20840,12 @@ "verror": "1.10.0" } }, + "jsuri": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsuri/-/jsuri-1.3.1.tgz", + "integrity": "sha1-zZP8aoeyVRQst7D0efAFF6uTle0=", + "dev": true + }, "jszip": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.6.0.tgz", @@ -21706,6 +21770,15 @@ "js-tokens": "^3.0.0 || ^4.0.0" } }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "requires": { + "get-func-name": "^2.0.0" + } + }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -23388,6 +23461,12 @@ } } }, + "oauth": { + "version": "0.9.15", + "resolved": "https://registry.npmjs.org/oauth/-/oauth-0.9.15.tgz", + "integrity": "sha1-vR/vr2hslrdUda7VGWQS/2DPucE=", + "dev": true + }, "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", @@ -25711,9 +25790,9 @@ } }, "protractor-retry-angular-cli": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/protractor-retry-angular-cli/-/protractor-retry-angular-cli-2.0.2.tgz", - "integrity": "sha512-UcMOvjn4j7OE37VYXmWhKa3xODRaIC0nDpxxMlL1BjOLYiJJeHF0iyD7QVejFq9xrelyHO8kH441dU6h3foRzw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/protractor-retry-angular-cli/-/protractor-retry-angular-cli-2.0.3.tgz", + "integrity": "sha512-sPamB1TUMf8R5cHTopyrj1OYsDedXU4Q7viic3Z+K7jWk7+TkbUlEukd57HHbVddSh5iGHWmghsWEUqiZnhT8g==", "dev": true, "requires": { "array-unique": "~0.3.2", diff --git a/package.json b/package.json index 682bfecfa..e00e272bf 100644 --- a/package.json +++ b/package.json @@ -157,6 +157,7 @@ "jest": "26.1.0", "jest-cli": "26.1.0", "jest-preset-angular": "8.4.0", + "jira.js": "^2.11.0", "karma": "^6.3.4", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "^3.0.3", @@ -177,7 +178,7 @@ "prettier": "2.0.5", "protractor": "^7.0.0", "protractor-console": "^3.0.0", - "protractor-retry-angular-cli": "^2.0.2", + "protractor-retry-angular-cli": "^2.0.3", "protractor-screenshoter-plugin": "0.10.3", "protractor-smartrunner": "2.0.0-beta11", "rimraf": "^3.0.2",