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

wooga / atlas-build-unity / 59
78%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2019 08:07AM UTC
Jobs 2
Files 21
Run time 5min
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
59

push

jenkins

Add webGL build plugin (#26)

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

This a first version for the webGL build plugin. It's a near copy of the
script we developed inside the game project. There is tons of ways to
improve this but lets just use this first version to form some kind of
API. I created an Extension object already so we don't read all values
from project properties. The extension or plugin doesn't setup any
default/fallback values. All settings must be configured to make the
build work.

Here is an example build script because I don't provide any integration
tests as of now:

```grovvy
buildscript {
    repositories {
        maven { url "https://dl.bintray.com/nitram509/jbrotli" }
        mavenLocal()
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "net.wooga.gradle:atlas-build-unity:0.15.0-SNAPSHOT"
    }
}

apply plugin: "net.wooga.build-unity-webgl"

webglBuild {
    cdnCredentials {
        accessKey = project.cdnAccessKeyId
        secretKey = project.cdnAccessKeySecret
    }

    cdnEndpoint = project.cdnEndpoint
    s3Endpoint = project.s3Endpoint
    cdnReleaseDirectory = project.webGLCdnReleaseDirectory
    webGLMemorySize = Integer.parseInt(project.webGLMemorySize)
    webGLSupportsES2 = Boolean.parseBoolean(project.webGLSupportsES2)
    webGLSupportsES3 = Boolean.parseBoolean(project.webGLSupportsES3)
}
```

The repo in which `JBrotli` lifes must be included. I will investigate
ways how to deal with dependencies like these.

Changes
=======

![ADD] ![NEW] ![WEBGL] build plugin

597 of 898 relevant lines covered (66.48%)

1.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 59.1 05 Apr 2019 08:07AM UTC 0
66.48
2 59.2 05 Apr 2019 08:12AM UTC 0
40.65
Source Files on build 59
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #59
  • e125659e on github
  • Prev Build on master (#54)
  • Next Build on master (#61)
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