6. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] (subs/*:projectDescriptors) Could not create file
/home/svc_jenkins/jenkins_workspace/Substitutability/subs-build-
pr/subs/target/streams/$global/projectDescriptors/$global/streams/outjava.io.IOExcepti
on: No such file or directory
[error] Total time: 0 s, completed Jan 15, 2018 2:39:24 AM
Build step 'Build using sbt' changed build result to FAILURE
Build step 'Build using sbt' marked build as failure
[CHECKSTYLE] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Publishing Scoverage XML and HTML report ...
ERROR: Step ?Publish Scoverage Report? aborted due to exception:
java.io.IOException: /home/svc_jenkins/jenkins_workspace/Substitutability/subs-build-
pr/target/scala-2.11/scoverage-report not exists
at
org.jenkinsci.plugins.scoverage.ScoveragePublisher.copyReport(ScoveragePublisher.java:
114)
at
org.jenkinsci.plugins.scoverage.ScoveragePublisher.perform(ScoveragePublisher.java:66)
……
Notified Stash for commit with id f83c0fecc73c477c18843208317f9523a9b17882
Finished: FAILURE
35. > scope
1. Keys can have different values in
different scopes
• sources in Compile
• sources in Test
2. Keys can be scoped by tasks or
configuration
3. Configurations can extend from each other
• val Test = config("test") extend Compile
38. > referring to scopes in a build definition
lazy val root = (project in file("."))
.settings(
name := "hello"
)
name in Compile := “hello"
name in packageBin := “hello"
name in (Compile, packageBin) := “hello"
39. > referring to scopes in a build definition
lazy val root = (project in file("."))
.settings(
name := "hello"
)
name in Compile := "hello"
name in packageBin := "hello"
name in (Compile, packageBin) := “hello"
40. > referring to scopes in a build definition
lazy val root = (project in file("."))
.settings(
name := "hello"
)
name in Compile := "hello"
name in packageBin := "hello"
name in (Compile, packageBin) := "hello"
45. > scalacOptions
"-deprecation"
"-Ywarn-dead-code"
)
NO OPTION
[warn] there were three deprecation warnings;
re-run with -deprecation for details
WITH OPTION
[warn] Foo.scala:451: method listAll
in class Bar is deprecated: Don't use this method.
Its super broken.
[warn] Bar.listAll(user)