{"action":"created","comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/comments/94425147","pull_request_review_id":14952073,"id":94425147,"diff_hunk":"@@ -10,12 +10,18 @@ if [ \"${STAGE_TEST}\" = 'true' ]; then\n     source config/stage_environment.conf\n fi\n \n-# For Example: The TARGET_IMAGE in provision_libvirt_install.conf should be \"qe-test-rhel7\".\n-export TARGET_IMAGE\n-export SERVER_HOSTNAME=\"${TARGET_IMAGE}.${VM_DOMAIN}\"\n-set +e\n-fab -H \"root@${PROVISIONING_HOST}\" \"vm_destroy:target_image=${TARGET_IMAGE},delete_image=true\"\n-set -e\n+function remove_instance () {\n+    # For Example: The TARGET_IMAGE in provision_libvirt_install.conf should be \"qe-test-rhel7\".\n+    export TARGET_IMAGE\n+    export SERVER_HOSTNAME=\"${TARGET_IMAGE}.${VM_DOMAIN}\"\n+    set +e\n+    fab -H \"root@$1\" \"vm_destroy:target_image=${TARGET_IMAGE},delete_image=true\"","path":"scripts/satellite6-libvirt-install.sh","position":15,"original_position":15,"commit_id":"78b4544eb3baf37f886247e347e5f8dfb48acce4","original_commit_id":"78b4544eb3baf37f886247e347e5f8dfb48acce4","user":{"login":"omaciel","id":53362,"avatar_url":"https://avatars.githubusercontent.com/u/53362?v=3","gravatar_id":"","url":"https://api.github.com/users/omaciel","html_url":"https://github.com/omaciel","followers_url":"https://api.github.com/users/omaciel/followers","following_url":"https://api.github.com/users/omaciel/following{/other_user}","gists_url":"https://api.github.com/users/omaciel/gists{/gist_id}","starred_url":"https://api.github.com/users/omaciel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omaciel/subscriptions","organizations_url":"https://api.github.com/users/omaciel/orgs","repos_url":"https://api.github.com/users/omaciel/repos","events_url":"https://api.github.com/users/omaciel/events{/privacy}","received_events_url":"https://api.github.com/users/omaciel/received_events","type":"User","site_admin":false},"body":"I new that `$1` would be passed to the function :)  but where is the call being made? I guess in a different script not touched by this PR?","created_at":"2017-01-03T15:40:27Z","updated_at":"2017-01-03T15:40:27Z","html_url":"https://github.com/SatelliteQE/robottelo-ci/pull/435#discussion_r94425147","pull_request_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435","_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/comments/94425147"},"html":{"href":"https://github.com/SatelliteQE/robottelo-ci/pull/435#discussion_r94425147"},"pull_request":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435"}}},"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435","id":99858154,"html_url":"https://github.com/SatelliteQE/robottelo-ci/pull/435","diff_url":"https://github.com/SatelliteQE/robottelo-ci/pull/435.diff","patch_url":"https://github.com/SatelliteQE/robottelo-ci/pull/435.patch","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues/435","number":435,"state":"open","locked":false,"title":"Added support to install sat6 vm on any PROVISIONING_HOST","user":{"login":"kbidarkar","id":373096,"avatar_url":"https://avatars.githubusercontent.com/u/373096?v=3","gravatar_id":"","url":"https://api.github.com/users/kbidarkar","html_url":"https://github.com/kbidarkar","followers_url":"https://api.github.com/users/kbidarkar/followers","following_url":"https://api.github.com/users/kbidarkar/following{/other_user}","gists_url":"https://api.github.com/users/kbidarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbidarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbidarkar/subscriptions","organizations_url":"https://api.github.com/users/kbidarkar/orgs","repos_url":"https://api.github.com/users/kbidarkar/repos","events_url":"https://api.github.com/users/kbidarkar/events{/privacy}","received_events_url":"https://api.github.com/users/kbidarkar/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-02T12:14:41Z","updated_at":"2017-01-03T15:40:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ca6277e543d810411c0b03541f11a8195e9d326","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435/commits","review_comments_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435/comments","review_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues/435/comments","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/statuses/78b4544eb3baf37f886247e347e5f8dfb48acce4","head":{"label":"kbidarkar:update-jobs1","ref":"update-jobs1","sha":"78b4544eb3baf37f886247e347e5f8dfb48acce4","user":{"login":"kbidarkar","id":373096,"avatar_url":"https://avatars.githubusercontent.com/u/373096?v=3","gravatar_id":"","url":"https://api.github.com/users/kbidarkar","html_url":"https://github.com/kbidarkar","followers_url":"https://api.github.com/users/kbidarkar/followers","following_url":"https://api.github.com/users/kbidarkar/following{/other_user}","gists_url":"https://api.github.com/users/kbidarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbidarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbidarkar/subscriptions","organizations_url":"https://api.github.com/users/kbidarkar/orgs","repos_url":"https://api.github.com/users/kbidarkar/repos","events_url":"https://api.github.com/users/kbidarkar/events{/privacy}","received_events_url":"https://api.github.com/users/kbidarkar/received_events","type":"User","site_admin":false},"repo":{"id":41503613,"name":"robottelo-ci","full_name":"kbidarkar/robottelo-ci","owner":{"login":"kbidarkar","id":373096,"avatar_url":"https://avatars.githubusercontent.com/u/373096?v=3","gravatar_id":"","url":"https://api.github.com/users/kbidarkar","html_url":"https://github.com/kbidarkar","followers_url":"https://api.github.com/users/kbidarkar/followers","following_url":"https://api.github.com/users/kbidarkar/following{/other_user}","gists_url":"https://api.github.com/users/kbidarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbidarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbidarkar/subscriptions","organizations_url":"https://api.github.com/users/kbidarkar/orgs","repos_url":"https://api.github.com/users/kbidarkar/repos","events_url":"https://api.github.com/users/kbidarkar/events{/privacy}","received_events_url":"https://api.github.com/users/kbidarkar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kbidarkar/robottelo-ci","description":"Jenkins jobs configuration files to be used to run Robottelo against Satellite 6 and SAM.","fork":true,"url":"https://api.github.com/repos/kbidarkar/robottelo-ci","forks_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/forks","keys_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/teams","hooks_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/hooks","issue_events_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/issues/events{/number}","events_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/events","assignees_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/assignees{/user}","branches_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/branches{/branch}","tags_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/tags","blobs_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/git/refs{/sha}","trees_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/statuses/{sha}","languages_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/languages","stargazers_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/stargazers","contributors_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/contributors","subscribers_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/subscribers","subscription_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/subscription","commits_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/commits{/sha}","git_commits_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/git/commits{/sha}","comments_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/comments{/number}","issue_comment_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/issues/comments{/number}","contents_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/contents/{+path}","compare_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/merges","archive_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/downloads","issues_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/issues{/number}","pulls_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/pulls{/number}","milestones_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/milestones{/number}","notifications_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/labels{/name}","releases_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/releases{/id}","deployments_url":"https://api.github.com/repos/kbidarkar/robottelo-ci/deployments","created_at":"2015-08-27T18:18:38Z","updated_at":"2016-06-28T14:33:14Z","pushed_at":"2017-01-02T17:46:44Z","git_url":"git://github.com/kbidarkar/robottelo-ci.git","ssh_url":"git@github.com:kbidarkar/robottelo-ci.git","clone_url":"https://github.com/kbidarkar/robottelo-ci.git","svn_url":"https://github.com/kbidarkar/robottelo-ci","homepage":"","size":497,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SatelliteQE:master","ref":"master","sha":"e956a4843e29fc74c09ff32b795e90722d58bf48","user":{"login":"SatelliteQE","id":8754276,"avatar_url":"https://avatars.githubusercontent.com/u/8754276?v=3","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"repo":{"id":27786159,"name":"robottelo-ci","full_name":"SatelliteQE/robottelo-ci","owner":{"login":"SatelliteQE","id":8754276,"avatar_url":"https://avatars.githubusercontent.com/u/8754276?v=3","gravatar_id":"","url":"https://api.github.com/users/SatelliteQE","html_url":"https://github.com/SatelliteQE","followers_url":"https://api.github.com/users/SatelliteQE/followers","following_url":"https://api.github.com/users/SatelliteQE/following{/other_user}","gists_url":"https://api.github.com/users/SatelliteQE/gists{/gist_id}","starred_url":"https://api.github.com/users/SatelliteQE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatelliteQE/subscriptions","organizations_url":"https://api.github.com/users/SatelliteQE/orgs","repos_url":"https://api.github.com/users/SatelliteQE/repos","events_url":"https://api.github.com/users/SatelliteQE/events{/privacy}","received_events_url":"https://api.github.com/users/SatelliteQE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SatelliteQE/robottelo-ci","description":"Jenkins jobs configuration files to be used to run Robottelo against Satellite 6 and SAM.","fork":false,"url":"https://api.github.com/repos/SatelliteQE/robottelo-ci","forks_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/forks","keys_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/teams","hooks_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/hooks","issue_events_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues/events{/number}","events_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/events","assignees_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/assignees{/user}","branches_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/branches{/branch}","tags_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/tags","blobs_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/git/refs{/sha}","trees_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/statuses/{sha}","languages_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/languages","stargazers_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/stargazers","contributors_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/contributors","subscribers_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/subscribers","subscription_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/subscription","commits_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/commits{/sha}","git_commits_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/git/commits{/sha}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/comments{/number}","issue_comment_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues/comments{/number}","contents_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/contents/{+path}","compare_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/merges","archive_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/downloads","issues_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues{/number}","pulls_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls{/number}","milestones_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/milestones{/number}","notifications_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/labels{/name}","releases_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/releases{/id}","deployments_url":"https://api.github.com/repos/SatelliteQE/robottelo-ci/deployments","created_at":"2014-12-09T20:43:44Z","updated_at":"2016-12-30T10:11:42Z","pushed_at":"2017-01-02T17:46:46Z","git_url":"git://github.com/SatelliteQE/robottelo-ci.git","ssh_url":"git@github.com:SatelliteQE/robottelo-ci.git","clone_url":"https://github.com/SatelliteQE/robottelo-ci.git","svn_url":"https://github.com/SatelliteQE/robottelo-ci","homepage":"","size":485,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":26,"forks":19,"open_issues":26,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435"},"html":{"href":"https://github.com/SatelliteQE/robottelo-ci/pull/435"},"issue":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues/435"},"comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/SatelliteQE/robottelo-ci/statuses/78b4544eb3baf37f886247e347e5f8dfb48acce4"}}}}
{"actor":{"display_login":"omaciel"}}