artifact-engine
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -7,7 +7,8 @@ "use strict"; | ||
var hostType = (tl.getVariable('SYSTEM.HOSTTYPE') || "").toLowerCase(); | ||
var isReleaseHost = hostType === 'release' || hostType === "deployment"; | ||
return { | ||
hostType: hostType, | ||
definitionName: hostType === 'release' ? tl.getVariable('RELEASE.DEFINITIONNAME') : tl.getVariable('BUILD.DEFINITIONNAME'), | ||
processId: hostType === 'release' ? tl.getVariable('RELEASE.RELEASEID') : tl.getVariable('BUILD.BUILDID'), | ||
processUrl: hostType === 'release' ? tl.getVariable('RELEASE.RELEASEWEBURL') : (tl.getVariable('SYSTEM.TEAMFOUNDATIONSERVERURI') + tl.getVariable('SYSTEM.TEAMPROJECT') + '/_build?buildId=' + tl.getVariable('BUILD.BUILDID')), | ||
definitionName: isReleaseHost ? tl.getVariable('RELEASE.DEFINITIONNAME') : tl.getVariable('BUILD.DEFINITIONNAME'), | ||
processId: isReleaseHost ? tl.getVariable('RELEASE.RELEASEID') : tl.getVariable('BUILD.BUILDID'), | ||
processUrl: isReleaseHost ? tl.getVariable('RELEASE.RELEASEWEBURL') : (tl.getVariable('SYSTEM.TEAMFOUNDATIONSERVERURI') + tl.getVariable('SYSTEM.TEAMPROJECT') + '/_build?buildId=' + tl.getVariable('BUILD.BUILDID')), | ||
taskDisplayName: tl.getVariable('TASK.DISPLAYNAME'), | ||
@@ -14,0 +15,0 @@ jobid: tl.getVariable('SYSTEM.JOBID'), |
{ | ||
"name": "artifact-engine", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Artifact Engine to download artifacts from jenkins, teamcity, vsts", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -20,2 +20,3 @@ "use strict"; | ||
this.options.keepAlive = true; | ||
this.options.ignoreSslError = true; | ||
this.initializeProxy(); | ||
@@ -22,0 +23,0 @@ this.httpc = new httpm.HttpClient('artifact-engine ' + packagejson.version, [handler], this.options); |
145270
2129