• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 5238 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix-changed-since-whitespace-23307
DEFAULT BRANCH: main
Ran 09 Jun 2015 05:20PM UTC
Files 330
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jun 2015 04:51PM UTC coverage: 66.378% (+0.3%) from 66.077%
CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'"

push

travis-ci

fkorotkov
Added a hash to a jar name for a bootstrapped jvm tool

Before fingerprints for scala and zinc for java tools were the same but the actual paths of shaded jars in artifacts were different. Removed scope and key from the jar_path and added a hash.

Example:

We compile a java target with Zinc and it will shade zinc and store it to an artifact. The artifact will contain only one jar file `bootstrap/bootstrap-jvm-tools/tool_cache/shaded_jars/compile.zinc-java/zinc/org.pantsbuild.zinc.Main.jar`.

Then we'll try to compile a Scala target and because the fingerprint is the same as for zinc-java it will use an artifact from zinc-java. But it will fail to locate a shaded jar at `bootstrap-jvm-tools/tool_cache/shaded_jars/compile.zinc/zinc/org.pantsbuild.zinc.Main.jar` and will shade it again.

Testing Done:
https://travis-ci.org/fkorotkov/pants/builds/65968176

Bugs closed: 1652

Reviewed at https://rbcommons.com/s/twitter/r/2334/

13176 of 19850 relevant lines covered (66.38%)

0.66 hits per line

Source Files on job 5238.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'")
  • Tree
  • List 0
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5238
  • Travis Job 5238.3
  • c960c9c3 on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#5237.3)
  • Next Job for CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'" on master (#5243.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc