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

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

Build:
Build:
LAST BUILD BRANCH: PR-154
DEFAULT BRANCH: master
Ran 14 Jul 2020 09:13AM UTC
Jobs 6
Files 64
Run time 650658min
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
1

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

860 of 1916 relevant lines covered (44.89%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1.1 14 Jul 2020 09:13AM UTC 0
82.37
2 1.2 14 Jul 2020 09:16AM UTC 0
39.83
3 1.3 14 Jul 2020 09:17AM UTC 0
39.83
4 1.4 14 Sep 2021 02:45PM UTC 0
20.25
5 1.5 14 Sep 2021 02:49PM UTC 0
36.56
6 1.6 09 Oct 2021 05:31AM UTC 0
22.06
Source Files on build 1
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #1
  • 26d80d3b on github
  • Next Build on release/1.x (#2)
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