Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62946

Deploying azure app from agent fails to copy any files to git deploy folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • Jenkins 2.242 running in linux docker container on Windows 10.
      Build is done on agent running Windows docker container on Windows 10.
      Latest plugin.

      azureWebAppPublish azureCredentialsId: credentialsId, 
         publishType: 'file',
         resourceGroup: resourceGroup,
         appName: webAppName, 
         slotName: slotName,
         filePath: '**/*',
         sourceDirectory: 'bin/Release/App'

      Running a linux server and windows slave in docker for Windows on Windows 10 Pro.  The azureWebAppPublish does not copy any files into the .azure-deploy git directory so the deploy uploads an empty app.

      This worked fine on a single Windows jenkins (no agent) before I moved to server/agent config.

      I can't really offer any more info as the logs don't actually log any of the file copy steps.

       

            azure_devops Azure DevOps
            kempus Tim Kemp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: