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

A job instance will delete other instance's Stack

    XMLWordPrintable

Details

    Description

      My situation is that one job launch two job instance concurrently and job configurate to check 'Automatically delete the stack when the job completes' box. I have use a environment variable as a part of Stack name. for example (ABC${BUILD_NUMBER} ) The two job instance runing in same windows slave.

      issue:
      The one job instance will delete all Stack created by the two job instance after itself completes.
      The attachment show build 6 delete stack of build 5.

      another strange phenomenon is last build's environment variable will appear on this build's environment .

      Attachments

        1. Untitled.png
          Untitled.png
          65 kB
        2. Untitled.png
          Untitled.png
          65 kB
        3. Untitled2.png
          Untitled2.png
          58 kB

        Activity

          lsbwant lsb want added a comment - - edited

          I have create a pull request for this issue, I am not sure if good, but it worked. I have a test https://github.com/jenkinsci/jenkins-cloudformation-plugin/pull/21

          lsbwant lsb want added a comment - - edited I have create a pull request for this issue, I am not sure if good, but it worked. I have a test https://github.com/jenkinsci/jenkins-cloudformation-plugin/pull/21

          People

            edovale edovale
            lsbwant lsb want
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: