{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/docker/issues/369","repository_url":"https://api.github.com/repos/jenkinsci/docker","labels_url":"https://api.github.com/repos/jenkinsci/docker/issues/369/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/docker/issues/369/comments","events_url":"https://api.github.com/repos/jenkinsci/docker/issues/369/events","html_url":"https://github.com/jenkinsci/docker/issues/369","id":183675354,"number":369,"title":"install-plugins.sh unable to download dependencies","user":{"login":"bimlendu","id":1873727,"avatar_url":"https://avatars.githubusercontent.com/u/1873727?v=3","gravatar_id":"","url":"https://api.github.com/users/bimlendu","html_url":"https://github.com/bimlendu","followers_url":"https://api.github.com/users/bimlendu/followers","following_url":"https://api.github.com/users/bimlendu/following{/other_user}","gists_url":"https://api.github.com/users/bimlendu/gists{/gist_id}","starred_url":"https://api.github.com/users/bimlendu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bimlendu/subscriptions","organizations_url":"https://api.github.com/users/bimlendu/orgs","repos_url":"https://api.github.com/users/bimlendu/repos","events_url":"https://api.github.com/users/bimlendu/events{/privacy}","received_events_url":"https://api.github.com/users/bimlendu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T12:42:38Z","updated_at":"2016-10-18T20:46:08Z","closed_at":null,"body":"The install-plugins.sh script is not able to download dependencies properly. It tries to download plugins with incorrect urls. Sample\r\n\r\n```\r\nDownloading plugin: workflow-cps-global-lib-plugin from https://updates.jenkins.io/download/plugins/workflow-cps-global-lib-plugin/latest/workflow-cps-global-lib-plugin.hpi\r\nFailed to download plugin: workflow-cps-global-lib or workflow-cps-global-lib-plugin\r\n```\r\n\r\nThe download url should be `http://mirrors.jenkins-ci.org/plugins/workflow-cps-global-lib/latest/workflow-cps-global-lib.hpi`\r\n\r\nThere is extra `-plugin` added while constructing the url.\r\n\r\nMy Dockerfile is based on jenkinsci/jenkins image and has this line. Same issue I have seen with image jenkins:2.19.1\r\n\r\n```\r\nRUN /usr/local/bin/install-plugins.sh workflow-aggregator ant nodejs sonar blueocean gradle git htmlpublisher slack\r\n```\r\n\r\nMore errors\r\n\r\n```\r\nDownloading plugin: workflow-cps-global-lib-plugin from https://updates.jenkins.io/download/plugins/workflow-cps-global-lib-plugin/latest/workflow-cps-global-lib-plugin.hpi\r\nFailed to download plugin: workflow-cps-global-lib or workflow-cps-global-lib-plugin\r\nDownloading plugin: workflow-cps-plugin from https://updates.jenkins.io/download/plugins/workflow-cps-plugin/latest/workflow-cps-plugin.hpi\r\nDownloading plugin: credentials-plugin from https://updates.jenkins.io/download/plugins/credentials-plugin/latest/credentials-plugin.hpi\r\nFailed to download plugin: workflow-cps or workflow-cps-plugin\r\nDownloading plugin: blueocean-web-plugin from https://updates.jenkins.io/download/plugins/blueocean-web-plugin/latest/blueocean-web-plugin.hpi\r\nDownloading plugin: blueocean-commons-plugin from https://updates.jenkins.io/download/plugins/blueocean-commons-plugin/latest/blueocean-commons-plugin.hpi\r\nFailed to download plugin: credentials or credentials-plugin\r\nFailed to download plugin: blueocean-web or blueocean-web-plugin\r\nFailed to download plugin: blueocean-commons or blueocean-commons-plugin\r\nDownloading plugin: pipeline-rest-api-plugin from https://updates.jenkins.io/download/plugins/pipeline-rest-api-plugin/latest/pipeline-rest-api-plugin.hpi\r\nDownloading plugin: blueocean-dashboard-plugin from https://updates.jenkins.io/download/plugins/blueocean-dashboard-plugin/latest/blueocean-dashboard-plugin.hpi\r\nDownloading plugin: pipeline-model-definition-plugin from https://updates.jenkins.io/download/plugins/pipeline-model-definition-plugin/latest/pipeline-model-definition-plugin.hpi\r\nDownloading plugin: blueocean-personalization-plugin from https://updates.jenkins.io/download/plugins/blueocean-personalization-plugin/latest/blueocean-personalization-plugin.hpi\r\nDownloading plugin: blueocean-pipeline-api-impl-plugin from https://updates.jenkins.io/download/plugins/blueocean-pipeline-api-impl-plugin/latest/blueocean-pipeline-api-impl-plugin.hpi\r\nFailed to download plugin: pipeline-rest-api or pipeline-rest-api-plugin\r\nDownloading plugin: jquery-plugin from https://updates.jenkins.io/download/plugins/jquery-plugin/latest/jquery-plugin.hpi\r\nFailed to download plugin: blueocean-dashboard or blueocean-dashboard-plugin\r\nFailed to download plugin: pipeline-model-definition or pipeline-model-definition-plugin\r\nFailed to download plugin: blueocean-personalization or blueocean-personalization-plugin\r\nFailed to download plugin: blueocean-pipeline-api-impl or blueocean-pipeline-api-impl-plugin\r\nFailed to download plugin: jquery or jquery-plugin\r\n```"},"comment":{"url":"https://api.github.com/repos/jenkinsci/docker/issues/comments/254634241","html_url":"https://github.com/jenkinsci/docker/issues/369#issuecomment-254634241","issue_url":"https://api.github.com/repos/jenkinsci/docker/issues/369","id":254634241,"user":{"login":"carlossg","id":23651,"avatar_url":"https://avatars.githubusercontent.com/u/23651?v=3","gravatar_id":"","url":"https://api.github.com/users/carlossg","html_url":"https://github.com/carlossg","followers_url":"https://api.github.com/users/carlossg/followers","following_url":"https://api.github.com/users/carlossg/following{/other_user}","gists_url":"https://api.github.com/users/carlossg/gists{/gist_id}","starred_url":"https://api.github.com/users/carlossg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlossg/subscriptions","organizations_url":"https://api.github.com/users/carlossg/orgs","repos_url":"https://api.github.com/users/carlossg/repos","events_url":"https://api.github.com/users/carlossg/events{/privacy}","received_events_url":"https://api.github.com/users/carlossg/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T20:46:08Z","updated_at":"2016-10-18T20:46:08Z","body":"probably same as https://github.com/jenkinsci/docker/pull/361"}}
{"actor":{"display_login":"carlossg"}}