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

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

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Ran 17 Nov 2020 10:27PM UTC
Files 34
Run time 7s
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

17 Nov 2020 10:26PM UTC coverage: 28.205% (-56.6%) from 84.813%
23.3

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)

396 of 1404 relevant lines covered (28.21%)

0.28 hits per line

Source Files on job 23.3
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23
  • 4e6664be on github
  • Prev Job for on release/1.x (#22.1)
  • Next Job for on release/1.x (#24.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