This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// some stuff to get jenkins log output | |
def out | |
def config = new HashMap() | |
def bindings = getBinding() | |
config.putAll(bindings.getVariables()) | |
out = config['out'] | |
// unity cloud build api key | |
def apiKey = "YOUR_UNITY_CLOUD_BUILD_API_KEY" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch app_build_123456.vdf | |
echo '"appbuild" | |
{ | |
"appid" "123456" | |
"desc" "Your build description here" // description for this build | |
"contentroot" "content\" // root content folder, relative to location of this file | |
"buildoutput" "output\" // build output folder for .log, .csm & .csd files, relative to location of this file | |
"setlive" "" // branch to set live after successful build, non if empty | |
"preview" "0" // to enable preview builds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"build": 7, | |
"buildtargetid": "default-windows-desktop-32-bit", | |
"buildTargetName": "Default Windows desktop 32-bit", | |
"buildStatus": "success", | |
"platform": "standalonewindows", | |
"workspaceSize": 289375674, | |
"created": "2017-02-03T13:34:32.880Z", | |
"finished": "2017-02-03T14:05:42.000Z", | |
"checkoutStartTime": "2017-02-03T13:58:49.000Z", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H 'Authorization: BASIC YOUR_API_KEY_HERE' https://build-api.cloud.unity3d.com/api/v1/orgs/your-organization-here/projects/your-project-name-here/buildtargets/default-windows-desktop-32-bit/builds?buildStatus=success&platform=standalonewindows |