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

wooga / atlas-build-unity / 82
78%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2020 08:58AM UTC
Jobs 2
Files 19
Run time 6min
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
82

push

jenkins

Improve iOS keychain task error messages (#45)

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

The `buildKeychain` task for iOS projects uses the `security`
commandline tool to setup a new keychain and import optional
certificates. This operation is handled in the _interactive_ mode to
spawn only one `security` process. In case of an error we only show a
message that `security` failed but not exactly what failed.
I changed the task to register both `stderr` and `stdout` and print both
to the gradle logger. In additon to this I also handle the exit value
and throw a `ExecException` with the `stderr` string as message. This
should result in a clearer error message what happend.
As an example. If the user provides a wrong certificate (.p12)
passphrase the gradle process would end like:

```
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildKeychain'.
> security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
  import: returned 1
```

Changes
=======

* ![IMPROVE] ![IOS] keychain task error messages

631 of 790 relevant lines covered (79.87%)

1.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 82.1 26 Feb 2020 08:58AM UTC 0
79.87
2 82.2 26 Feb 2020 09:05AM UTC 0
41.65
Source Files on build 82
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #82
  • 03f5b172 on github
  • Prev Build on master (#81)
  • Next Build on master (#84)
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