This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 1.1
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 5499e2e54746cf4e2a57a1d4d032afb61965de88
Author: Max Zheng <maxzheng...@gmail.com>
AuthorDate: Fri Mar 9 14:54:43 2018 -0800

    MINOR: Tag AWS instances with Jenkins build url (#4657)
    
    This will allow us to trace leaked instances back to the job,
    so that we can figure out what happened and fix the leak.
    
    Reviewers: Ismael Juma <ism...@juma.me.uk>
---
 Vagrantfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Vagrantfile b/Vagrantfile
index 2179a3c..069bc5b 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -141,7 +141,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   def name_node(node, name, ec2_instance_name_prefix)
     node.vm.hostname = name
     node.vm.provider :aws do |aws|
-      aws.tags = { 'Name' => ec2_instance_name_prefix + "-" + 
Socket.gethostname + "-" + name }
+      aws.tags = {
+        'Name' => ec2_instance_name_prefix + "-" + Socket.gethostname + "-" + 
name,
+        'JenkinsBuildUrl' => ENV['BUILD_URL']
+      }
     end
   end
 

-- 
To stop receiving notification emails like this one, please contact
ij...@apache.org.

Reply via email to