From 7825a3243ca4efe5a1b5092a94ab83580d256ea5 Mon Sep 17 00:00:00 2001 From: Abhishek Dwivedi Date: Tue, 30 Apr 2024 11:20:13 +0530 Subject: [PATCH] FDN-2325: Updated build.sbt/jenkins --- Jenkinsfile | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6e4ba480..d1d407b8 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -78,8 +78,8 @@ pipeline { do sleep 10 done - sbt clean coverage flowLint test scalafmtSbtCheck scalafmtCheck doc ''' + sh 'sbt clean coverage flowLint test scalafmtSbtCheck scalafmtCheck doc' sh 'sbt coverageAggregate' } finally { diff --git a/build.sbt b/build.sbt index 0fb15eeb..5454fa62 100644 --- a/build.sbt +++ b/build.sbt @@ -127,7 +127,7 @@ lazy val commonSettings: Seq[Setting[_]] = Seq( scalacOptions ++= allScalacOptions, credentials += credsToUse, resolvers += "Artifactory" at "https://flow.jfrog.io/flow/libs-release/", - coverageExcludedFiles := ".*\\/api/app/generated\\/.*;.*\\/api/app/db/generated\\/.*;.*\\/generated\\/.*", + coverageExcludedFiles := ".*\\/*generated*\\/.*", coverageDataDir := file("target/scala-2.13"), coverageHighlighting := true, coverageFailOnMinimum := true,