From 06a211f8fa88757a62bf9c50edcfe8e96720fcee Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Sun, 22 Sep 2024 14:50:03 -0700 Subject: [PATCH] [JENKINS-71021] Lint failures do not print proper error message in local builds (regression in 2.359) (#9761) --- pom.xml | 126 +++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 69 deletions(-) diff --git a/pom.xml b/pom.xml index a38d98f12e5b..56c71c9fee33 100644 --- a/pom.xml +++ b/pom.xml @@ -421,70 +421,6 @@ THE SOFTWARE. https://www.jenkins.io/changelog-stable - - yarn-ci-lint - - - env.CI - - - package.json - - - - - - com.github.eirslett - frontend-maven-plugin - 1.15.1 - - - yarn lint:ci - - yarn - - - lint:ci - ${yarn.lint.skip} - - - - - - - - - yarn-lint - - - !env.CI - - - package.json - - - - - - com.github.eirslett - frontend-maven-plugin - 1.15.1 - - - yarn lint - - yarn - - - lint - ${yarn.lint.skip} - - - - - - - yarn-execution @@ -526,7 +462,6 @@ THE SOFTWARE. frontend-maven-plugin 1.15.1 - install node and yarn @@ -540,7 +475,6 @@ THE SOFTWARE. - yarn install @@ -548,7 +482,6 @@ THE SOFTWARE. initialize - yarn build @@ -559,12 +492,34 @@ THE SOFTWARE. build - + + + + + + + yarn-ci-lint + + + env.CI + + + package.json + + + + + + com.github.eirslett + frontend-maven-plugin + 1.15.1 + - yarn lint + yarn lint:ci yarn + test lint:ci ${yarn.lint.skip} @@ -575,6 +530,39 @@ THE SOFTWARE. + + yarn-lint + + + !env.CI + + + package.json + + + + + + com.github.eirslett + frontend-maven-plugin + 1.15.1 + + + yarn lint + + yarn + + test + + lint + ${yarn.lint.skip} + + + + + + + clean-node