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

wooga / atlas-build-unity / 75
78%

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

pending completion
75

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`

578 of 746 relevant lines covered (77.48%)

1.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 75.1 15 Oct 2019 03:11PM UTC 0
77.48
2 75.2 15 Oct 2019 03:12PM UTC 0
43.03
Source Files on build 75
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #75
  • 284af9f1 on github
  • Prev Build on master (#73)
  • Next Build on master (#76)
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