diff --git a/lib/ci/ci_type_parser.js b/lib/ci/ci_type_parser.js index 61161280..35ade82e 100644 --- a/lib/ci/ci_type_parser.js +++ b/lib/ci/ci_type_parser.js @@ -86,7 +86,7 @@ const CI_TYPES = new Map([ [LITE_PR_PIPELINE, { name: 'Lite PR Pipeline', jobName: 'node-test-pull-request-lite-pipeline', - pattern: /node-test-pull-request-lite-pipeline\/(\d+)\/pipeline/, + pattern: /node-test-pull-request-lite-pipeline\/(\d+)/, type: LITE_CI }], [LITE_COMMIT, { diff --git a/test/fixtures/commits_after_ci.json b/test/fixtures/commits_after_ci.json index 66b7edc0..b0eafd66 100644 --- a/test/fixtures/commits_after_ci.json +++ b/test/fixtures/commits_after_ci.json @@ -40,7 +40,7 @@ "bodyText": "CI: https://ci.nodejs.org/job/node-test-pull-request/10984/", "publishedAt": "2017-10-24T11:19:25Z" },{ - "bodyText": "Lite-CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/10984/pipeline", + "bodyText": "Lite-CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/10984", "publishedAt": "2017-10-22T11:19:25Z" }] } diff --git a/test/unit/pr_checker.test.js b/test/unit/pr_checker.test.js index 357943f5..b78618e8 100644 --- a/test/unit/pr_checker.test.js +++ b/test/unit/pr_checker.test.js @@ -607,7 +607,7 @@ describe('PRChecker', () => { ['- feat: add something'] ], info: [ - ['Last Lite PR Pipeline CI on 2017-10-22T11:19:25Z: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/10984/pipeline'], + ['Last Lite PR Pipeline CI on 2017-10-22T11:19:25Z: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/10984'], ['Last Full PR CI on 2017-10-24T11:19:25Z: https://ci.nodejs.org/job/node-test-pull-request/10984/'] ] };