{"action":"created","issue":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/834","repository_url":"https://api.github.com/repos/jenkins-x/jx","labels_url":"https://api.github.com/repos/jenkins-x/jx/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/jenkins-x/jx/issues/834/comments","events_url":"https://api.github.com/repos/jenkins-x/jx/issues/834/events","html_url":"https://github.com/jenkins-x/jx/issues/834","id":324133705,"node_id":"MDU6SXNzdWUzMjQxMzM3MDU=","number":834,"title":"jx delete app failure","user":{"login":"kzantow","id":3009477,"node_id":"MDQ6VXNlcjMwMDk0Nzc=","avatar_url":"https://avatars2.githubusercontent.com/u/3009477?v=4","gravatar_id":"","url":"https://api.github.com/users/kzantow","html_url":"https://github.com/kzantow","followers_url":"https://api.github.com/users/kzantow/followers","following_url":"https://api.github.com/users/kzantow/following{/other_user}","gists_url":"https://api.github.com/users/kzantow/gists{/gist_id}","starred_url":"https://api.github.com/users/kzantow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzantow/subscriptions","organizations_url":"https://api.github.com/users/kzantow/orgs","repos_url":"https://api.github.com/users/kzantow/repos","events_url":"https://api.github.com/users/kzantow/events{/privacy}","received_events_url":"https://api.github.com/users/kzantow/received_events","type":"User","site_admin":false},"labels":[{"id":796050446,"node_id":"MDU6TGFiZWw3OTYwNTA0NDY=","url":"https://api.github.com/repos/jenkins-x/jx/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-17T18:22:11Z","updated_at":"2018-06-15T12:07:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Running `jx delete app` gives a pick list of apps, e.g.:\r\n\r\n```\r\n? Pick Applications to remove from Jenkins:  [Use arrows to move, type to filter]\r\n  ◯  zantow/environment-gargoylecord-production\r\n  ◯  zantow/environment-gargoylecord-staging\r\n❯ ◯  zantow/rails-shopping-cart\r\n  ◯  zantow/sample-node-quickstart\r\n```\r\n\r\nApparently it is a multiselect, which by itself is confusing, but without selecting an app, it returns an error:\r\n\r\n```\r\nerror: There are no Apps in Jenkins\r\n```\r\nWith selecting an app, at least one that failed to deploy, it also returns an error:\r\n\r\n```\r\n? You are about to delete these Applications from Jenkins: zantow/rails-shopping-cart [? for help] (y/N) \r\n\r\n\r\nRemoving app rails-shopping-cart from environment Staging\r\nfatal: remote origin already exists.\r\nNo local changes to save\r\nSwitched to branch 'master'\r\nYour branch is up to date with 'origin/master'.\r\nAlready up to date.\r\nFound remote branch names delete-www-2018-03-08, master, promote-rails-shopping-cart-latest, promote-sample-node-quickstart-latest, promote-sample-node-quickstart-latest-ce87bdc4-4652-11e8-99eb-a0999b168c73, HEAD -> origin/master, master, promote-sample-node-quickstart-0.0.1, promote-sample-node-quickstart-0.0.2\r\nSwitched to branch 'delete-rails-shopping-cart'\r\nNo changes made to the GitOps Environment source code. Code must be up to date!\r\nRemoving app rails-shopping-cart from environment Production\r\nfatal: remote origin already exists.\r\nNo local changes to save\r\nSwitched to branch 'master'\r\nYour branch is up to date with 'origin/master'.\r\nAlready up to date.\r\nFound remote branch names delete-www-2018-03-08, master, promote-sample-node-quickstart-0.0.2, promote-sample-node-quickstart-latest, HEAD -> origin/master, master, promote-sample-node-quickstart-0.0.2\r\nSwitched to branch 'delete-rails-shopping-cart'\r\nNo changes made to the GitOps Environment source code. Code must be up to date!\r\nRemoving app rails-shopping-cart from environment zantow/sample-node-quickstart PR-10\r\nfatal: remote origin already exists.\r\nNo local changes to save\r\nThere is no tracking information for the current branch.\r\nPlease specify which branch you want to merge with.\r\nSee git-pull(1) for details.\r\n\r\n    git pull <remote> <branch>\r\n\r\nIf you wish to set tracking information for this branch you can do so with:\r\n\r\n    git branch --set-upstream-to=origin/<branch> delete-www-2018-03-08\r\n\r\nerror: failed to invoke git pull in /Users/kzantow/.jx/environments/zantow/sample-node-quickstart due to exit status 1\r\n```\r\nThis includes a bunch of things that seem completely unrelated to the specific app..."},"comment":{"url":"https://api.github.com/repos/jenkins-x/jx/issues/comments/397600939","html_url":"https://github.com/jenkins-x/jx/issues/834#issuecomment-397600939","issue_url":"https://api.github.com/repos/jenkins-x/jx/issues/834","id":397600939,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzYwMDkzOQ==","user":{"login":"Salaboy","id":271966,"node_id":"MDQ6VXNlcjI3MTk2Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/271966?v=4","gravatar_id":"","url":"https://api.github.com/users/Salaboy","html_url":"https://github.com/Salaboy","followers_url":"https://api.github.com/users/Salaboy/followers","following_url":"https://api.github.com/users/Salaboy/following{/other_user}","gists_url":"https://api.github.com/users/Salaboy/gists{/gist_id}","starred_url":"https://api.github.com/users/Salaboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salaboy/subscriptions","organizations_url":"https://api.github.com/users/Salaboy/orgs","repos_url":"https://api.github.com/users/Salaboy/repos","events_url":"https://api.github.com/users/Salaboy/events{/privacy}","received_events_url":"https://api.github.com/users/Salaboy/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T12:07:18Z","updated_at":"2018-06-15T12:07:18Z","author_association":"NONE","body":"there is also a need for deleting clusters from JX.. if you can create cluster at least you should be able to de-register clusters and their credentials so JX stop giving those as options "}}
{"actor":{"display_login":"Salaboy"}}