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

wooga / atlas-build-unity / 40
25%
master: 78%

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Ran 28 Jan 2021 08:06PM UTC
Jobs 3
Files 48
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
40

push

jenkins

Add SecurityLockKeychain and SecurityUnlockKeychain tasks (#94)

* Add macos keychain spock extension

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

For better and easier testing this patch adds a special spock
extension library. With this library working with keychains in tests
becomes way easier. Instead of calling create/delete commands manually,
the extension will integrate this automatically.

usage:

```gradle
class ExampleSpec extends Specification {
    @Shared
    @Keychain
    MacOsKeychain testKeychain

    def "create new pull request"() {
        given:
        testKeychain.unlock()

        when:

        then:
    }
}
```

The `@Keychain` extension will return a `MacOsKeychain` object which itself
offers a lot of APIs to manage items in the keychain.

Changes
=======

* ![ADD] macOS keychain spock extension

* Refactor CreateKeychain task

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

With the addition of the macos security helper library we
no longer need to write our custom calling implementation in
the gradle plugin. We can leverage the library and simplify
the implementation. I just did that by removing code that
was meanly added as a preperation for other tasks that will follow.
These can now be written in a simple fashion and tested with
the added spock extension.

I also added a missing test which the first impl did not provide.

Changes
=======

* ![IMPROVE] `SecurityCreateKeychain` task implementation

* Add SecurityLockKeychain and SecurityUnlockKeychain tasks

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

This patch adds replacement tasks for LockKeychain task which was able
to lock and unlock. This interface is not very ergonomic as the raw security
commands has a different interface for both actions. The old impl was
oppionated for our internal usecase. The new tasks are bound to the behavior
of the security tool.

Testing these two commands is nearly impossible because the `security` tool
provides no command to test ... (continued)

655 of 1711 relevant lines covered (38.28%)

1.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40.1 28 Jan 2021 08:06PM UTC 0
38.28
2 40.2 28 Jan 2021 08:08PM UTC 0
38.28
3 40.3 28 Jan 2021 08:12PM UTC 0
92.11
Source Files on build 40
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #40
  • 8d8c8e59 on github
  • Prev Build on release/1.x (#39)
  • Next Build on release/1.x (#41)
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