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

Delete custom image on failure

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • _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


    Description

      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?

      Attachments

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: