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

wooga / atlas-build-unity / 75 / 2
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 15 Oct 2019 03:12PM UTC
Files 19
Run time 2s
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

15 Oct 2019 03:11PM UTC coverage: 43.029% (-31.7%) from 74.73%
75.2

push

jenkins

Disable caching for ImportProvisioningProfile task (#39)

Description
===========

The `ImportProvisioningProfile` task should never be `up-to-date`. A
provisioning profile can change remotely without warning. Input
caching can make this task to be marked `up-to-date`. This patch sets
the output `upToDateWhen` spec to be always false.
It would be possible to write a custom timeout handler but this is to
much effort for a task that runs maximum of 15 seconds

Test-ability changes
-------------------

I had to adjust the source slightly to be able to test this new task
caching behavior. I added a custom static getter `getExecutable` to the
`ImportProvisioningProfile` class. This helper methods tries to find the
path to the given executable in the environment `PATH`.
The reason for this change is that I need a way to inject a mock
`fastlane` executable. I can't override the path of the spawned gradle
job so opted for the moment to find the executable at runtime.

Changes
=======

![FIX] caching for `ImportProvisioningProfile` task
![ADD] `getExecutable` helper method in `ImportProvisioningProfile`

321 of 746 relevant lines covered (43.03%)

0.43 hits per line

Source Files on job 75.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • 284af9f1 on github
  • Prev Job for on master (#73.1)
  • Next Job for on master (#76.1)
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