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

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

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Ran 17 Nov 2020 10:26PM UTC
Jobs 4
Files 34
Run time 635930min
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
23

push

jenkins

Add file and pretty console logging (#77)

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

This patch builds on top of the last addition and prepares a foundation
for future tasks with some common settings for logging and console
printing.

ConsoleSettings
---------------

The console settings config object controls the logoutput of `xcodebuild`
to the standart output. The tool is by nature very verbose and does't allow
any verbosity levels to be set except to quiten it completely. In the apple
development szene is a tool available to help out with that [xcpretty]. It's
main use is to transform the output of `xcodebuild` and format it in a shorter
more human readable format. It also has formatters to reformat unit test output
into different formats. The tool is written in ruby which doesn't help us
much so I ported it over to groovy [xcpretty.groovy]. It is not a 100%
port as code snippet colering is missing and only the `Simple` formatter is
supported. This extra library is added and used when `prettyPrint` is enabled in
the console settings object. The logfile written to disk is not formatted!

The console settings can be set on the plugin level for all `xcodebuild` tasks
or individual for each task.

```groovy
xcodebuild.consoleSettings {
    prettyPrint = true // use xcpretty for console output
    useUnicode = true  // use unicode or ascii output
    colorize = "auto"  // colorize output (always, never, auto)
}
```

The default values are set based on the gradle console settings which can be changed
with the commandline switch `--console=(auto,plain,rich,verbose)` or via gradle property
`-Dorg.gradle.console=(auto,plain,rich,verbose)`

| console setting value | pretty print enabled | unicode enabled    | colorized          |
| --------------------- | -------------------- | ------------------ | ------------------ |
| rich                  | :white_check_mark:   | :white_check_mark: | :white_check_mark: |
| plain                 | ... (continued)

1211 of 1404 relevant lines covered (86.25%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23.1 17 Nov 2020 10:26PM UTC 0
86.11
2 23.2 17 Nov 2020 10:26PM UTC 0
28.21
3 23.3 17 Nov 2020 10:27PM UTC 0
28.21
4 23.4 02 Feb 2022 01:15PM UTC 0
24.75
Source Files on build 23
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #23
  • 4e6664be on github
  • Prev Build on release/1.x (#22)
  • Next Build on release/1.x (#24)
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