jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
85 stars 67 forks source link

Unable to install Allure-jenkins-plugin from jenkins-ci repo #250

Open mvoitko opened 5 years ago

mvoitko commented 5 years ago

Issue

Context

Problem description

I was installing plugin for Jenkins via Ansible. I specified Allure plugin version 2.28.1. I expected it to be installed. Instead exception occured

Logs & Traces

changed: [localhost] => (item={u'folder': u'org/jenkins-ci/ui', u'version': u'1.1', u'name': u'ace-editor'}) failed: [localhost] (item={u'version': u'2.28.1', u'name': u'allure-jenkins-plugin'}) => {"changed": true, "cmd": ["java", "-jar", "/opt/jenkins-cli.jar", "-i", "/var/lib/jenkins/.ssh/jenkins_deploy_key", "-s", "http://localhost:8080/", "-remoting", "install-plugin", "https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/allure-jenkins-plugin/2.28.1/allure-jenkins-plugin-2.28.1.hpi", "-name", "allure-jenkins-plugin"], "delta": "0:00:02.250731", "end": "2019-10-22 15:36:35.991978", "item": {"name": "allure-jenkins-plugin", "version": "2.28.1"}, "msg": "non-zero return code", "rc": 1, "start": "2019-10-22 15:36:33.741247", "stderr": "\nERROR: Unexpected exception occurred while performing install-plugin command.\njava.io.FileNotFoundException: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/allure-jenkins-plugin/2.28.1/allure-jenkins-plugin-2.28.1.hpi\n\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)\n\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)\n\tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)\n\tat java.net.URL.openStream(URL.java:1045)\n\tat hudson.FilePath.copyFrom(FilePath.java:901)\n\tat hudson.cli.InstallPluginCommand.run(InstallPluginCommand.java:127)\n\tat hudson.cli.CLICommand.main(CLICommand.java:278)\n\tat hudson.cli.CliManagerImpl.main(CliManagerImpl.java:95)\n\tat sun.reflect.GeneratedMethodAccessor1718.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:927)\n\tat hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:901)\n\tat hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:850)\n\tat hudson.remoting.UserRequest.perform(UserRequest.java:210)\n\tat hudson.remoting.UserRequest.perform(UserRequest.java:53)\n\tat hudson.remoting.Request$2.run(Request.java:364)\n\tat hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)\n\tat hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:66)\n\tat hudson.remoting.CallableDecoratorAdapter.call(CallableDecoratorAdapter.java:18)\n\tat hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)\n\tat jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)", "stderr_lines": ["", "ERROR: Unexpected exception occurred while performing install-plugin command.", "java.io.FileNotFoundException: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/allure-jenkins-plugin/2.28.1/allure-jenkins-plugin-2.28.1.hpi", "\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)", "\tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)", "\tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)", "\tat java.net.URL.openStream(URL.java:1045)", "\tat hudson.FilePath.copyFrom(FilePath.java:901)", "\tat hudson.cli.InstallPluginCommand.run(InstallPluginCommand.java:127)", "\tat hudson.cli.CLICommand.main(CLICommand.java:278)", "\tat hudson.cli.CliManagerImpl.main(CliManagerImpl.java:95)", "\tat sun.reflect.GeneratedMethodAccessor1718.invoke(Unknown Source)", "\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", "\tat java.lang.reflect.Method.invoke(Method.java:498)", "\tat hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:927)", "\tat hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:901)", "\tat hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:850)", "\tat hudson.remoting.UserRequest.perform(UserRequest.java:210)", "\tat hudson.remoting.UserRequest.perform(UserRequest.java:53)", "\tat hudson.remoting.Request$2.run(Request.java:364)", "\tat hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)", "\tat hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:66)", "\tat hudson.remoting.CallableDecoratorAdapter.call(CallableDecoratorAdapter.java:18)", "\tat hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)", "\tat jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)", "\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)", "\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)", "\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)", "\tat java.lang.Thread.run(Thread.java:748)"], "stdout": "Installing a plugin from https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/allure-jenkins-plugin/2.28.1/allure-jenkins-plugin-2.28.1.hpi", "stdout_lines": ["Installing a plugin from https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/allure-jenkins-plugin/2.28.1/allure-jenkins-plugin-2.28.1.hpi"]}

ghost commented 5 years ago

Same here, its 404'ing...

http://mirrors.jenkins-ci.org/plugins/allure-plugin/2.28.1/allure-plugin.hpi