-
Bug
-
Resolution: Unresolved
-
Blocker
-
Jenkins ver. 1.616
sun JDK 1.7
jenkins-cloudformation-plugin: 1.0
window slave
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 .
[JENKINS-31777] A job instance will delete other instance's Stack
Environment |
Original:
Jenkins ver. 1.616 sun JDK 1.7 jenkins-cloudformation-plugin: 1.0 |
New:
Jenkins ver. 1.616 sun JDK 1.7 jenkins-cloudformation-plugin: 1.0 window slave git bash in window slave |
Description | Original: 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 one job instance will delete all Stack created by the two job instance after itself completes. | New: 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 one job instance will delete all Stack created by the two job instance after itself completes. The two job instance runing in same windows slave. |
Attachment | New: Untitled.png [ 31356 ] |
Description | Original: 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 one job instance will delete all Stack created by the two job instance after itself completes. The two job instance runing in same windows slave. | New: 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. The one job instance will delete all Stack created by the two job instance after itself completes. and another strange phenomenon is last build's environment variable will appear on this build's environment . 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. |
Description | Original: 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. The one job instance will delete all Stack created by the two job instance after itself completes. and another strange phenomenon is last build's environment variable will appear on this build's environment . 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. |
New:
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. another strange phenomenon is last build's environment variable will appear on this build's environment . |
Attachment | New: Untitled2.png [ 31359 ] | |
Attachment | New: Untitled.png [ 31360 ] |
Description |
Original:
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. another strange phenomenon is last build's environment variable will appear on this build's environment . |
New:
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 . |
Environment |
Original:
Jenkins ver. 1.616 sun JDK 1.7 jenkins-cloudformation-plugin: 1.0 window slave git bash in window slave |
New:
Jenkins ver. 1.616 sun JDK 1.7 jenkins-cloudformation-plugin: 1.0 window slave |
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