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

wooga / atlas-build-unity / 45 / 1
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 31 Aug 2018 03:07PM UTC
Files 19
Run time 4s
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

31 Aug 2018 03:07PM UTC coverage: 75.99% (-1.9%) from 77.928%
45.1

push

jenkins

Add app config task generation (#16)

* Add app config task generation

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

This patch adds direct support for `appConfigs` over `buildPlatform` and
`buildEnvironment` configuration.

Goal
----

Our first implementation worked great but kept to much configuration
knowledge on the gradle side. Even worse, some configurations had to be
made twice. We decided to make the Unity project the single point of
truth for build platform/variant configuration. Some developers will
execute build logic from within Unity and preferable without gradle. So
this patch transforms the plugin in such a way that it will read the
shared configration and create tasks based on them.

Breaking Changes
----------------

This patch will break compatibility with the old version and also with
the current version of `wdk-unity-UnifiedBuildService`.

Details
-------

After project evaluation, the `net.wooga.buildUnity` plugin will try to
fetch all `appConfig.asset` files from the unity project. Default patterns and
lookup locations are predefined but can be reconfigured. It will then
create tasks for each `appConfig` matching the lookup pattern. File
names will be cleaned to please gradle taskname convention
(characters `:_\-<>|*\\?` will be deleted and string joined camelcase).

```
ios_ci.asset -> exportIosCi
android Production.asset -> exportAndroidProduction
...
```

The generated `export` task will open the `appConfig` during execution
time to fetch the `buildTarget` setting. This setting is optional but
crucial. This value is used to invoke unity batchmode with the correct
`buildTarget` value. This is nessary because unity can't switch targets
in batchmode.

The rest works the same as before.

Changes
=======

![UPDATE] dependency to `net.wooga.unity` to `1.+`
![ADD] `appConfig` support
![REMOVE] `buildPlatform` and `buildEnvironment` properties, handlers and logic

* Ignore task name generation tests... (continued)

595 of 783 relevant lines covered (75.99%)

0.76 hits per line

Source Files on job 45.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 45
  • 5b5cea86 on github
  • Prev Job for on master (#44.1)
  • Next Job for on master (#46.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