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

wooga / atlas-build-unity / 45
78%

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

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

Jobs
ID Job ID Ran Files Coverage
1 45.1 31 Aug 2018 03:07PM UTC 0
75.99
Source Files on build 45
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #45
  • 5b5cea86 on github
  • Prev Build on master (#44)
  • Next Build on master (#46)
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