• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • _unsorted
    • Operating System: Ubuntu 16.04 (Installed using the Azure Marketplace)
      Jenkins Version: 2.89.4
      Azure-vm-agent: 0.7.1
      Cloud Provider: Azure


      Hello,

      I'm tried to setup azure-vm-agent with a custom image and everything works correctly.

      When I run a new build, the plugin start a new Azure VM and jenkins master is able to connect e run all the steps of pipeline.

      But, if something goes wrong or the jobs failed, jenkins not only terminate the Azure VM but also delete the custom image.

      Is this a normal behavior?

          [JENKINS-52034] Delete custom image on failure

          Roberto Chessa created issue -
          Azure DevOps made changes -
          Assignee Original: Azure DevOps [ azure_devops ] New: Chenyang Liu [ zackliu ]
          Tim Jacomb made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: _unsorted [ 19622 ]
          Component/s Original: azure-vm-agents-plugin [ 21950 ]

            zackliu Chenyang Liu
            rchessa Roberto Chessa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: