Use the right user when creating the agent workspace on dynamic agents

This commit is contained in:
R. Tyler Croy 2017-07-26 19:09:00 -07:00
parent 9ca5ab0b0a
commit f0bf989265
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Jenkins.instance.clouds.add(cloud)
/* Nuke all our templates */
cloud.clearVmTemplates()
final String labels = 'docker linux ubuntu'
final String agentWorkspace = '/home/jenkins/workspace'
final String agentWorkspace = '/home/azureuser/workspace'
final String retentionTime = '10'
def imageReference = new AzureVMAgentTemplate.ImageReferenceTypeClass(