Delete custom image on failure

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor
    • Component/s: _unsorted
    • Environment:
      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?

            Assignee:
            Chenyang Liu
            Reporter:
            Roberto Chessa
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: