Skip to content

Instantly share code, notes, and snippets.

View slamb2k's full-sized avatar

Simon Lamb slamb2k

View GitHub Profile
@slamb2k
slamb2k / getMobileCenterEndpointDetails.js
Created May 5, 2017 00:04
VSMobileCenterBuildConnection
/*
* Retrieves the details from the service endpoint defined for Mobile Center in VSTS
*/
function getMobileCenterEndpointDetails(endpointInputFieldName) {
'use strict';
var errorMessage = "Can't decode endpoint.";
var endpoint = tl.getInput(endpointInputFieldName, true);
console.log(`Endpoint: ${endpoint}`);
@slamb2k
slamb2k / parameters.json
Last active May 4, 2017 23:49
VSMobileCenterBuildParameters
"inputs": [
{
"name": "serverEndpoint",
"type": "connectedService:vsmobilecenter",
"label": "Mobile Center Connection",
"defaultValue": "",
"required": true,
"helpMarkDown": "Select the service endpoint for your Visual Studio Mobile Center connection. To create one, click the Manage link and create a new service endpoint."
},
{