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

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

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Ran 14 Jul 2020 09:17AM UTC
Files 20
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

14 Jul 2020 09:13AM UTC coverage: 39.834%. First build
1.3

push

jenkins

Add versionCode property (#57)

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

This patch adds main support for a second version specifier the
`versionCode`. The `versionCode` is a `String` property even though
android uses an integer.

1. To pass it down to unity it has to be converted to `String` anyways
2. iOS has different rules for the [`CFBundleVersion`] which is a `String`

The default value is `null` and won't be send to Unity. The property can
be set on the `UnityBuildPlayerTask` or in the `buildUnity` extension.
In the later case all tasks of type `UnityBuildPlayerTask` will have
the same value set. It is also possible to set the value via environment
or gradle properties. I also made the `version` property of the
extension overrideable via environment or gradle properties. The main
fallback is still the project version. Only if this value for
project.version is `unspecified` will the extension check the environment/gradle
properties.

| property              | gradle property name      | environment variable      |
| --------------------- | ------------------------- | ------------------------- |
| version               | `unityBuild.version`      | `UNITY_BUILD_VERSION`     |
| versionCode           | `unityBuild.versionCode`  | `UNITY_BUILD_VERSION_CODE |

Changes
=======

* ![ADD] `versionCode` property

[CFBundleVersion]: https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion

384 of 964 relevant lines covered (39.83%)

0.4 hits per line

Source Files on job 1.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • 26d80d3b on github
  • Next Job for on release/1.x (#2.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