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,