-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
1. Installed Jenkins 2.7.2 wit the help of installer
2. Windows service is running
3. Successfully connected to the Jenkins URL (http://localhost:8081)
4. Java JRE7
5. Windows 2012 R2 Standard
I'm marking the bug as blocker since it is blocked my activity
1. Installed Jenkins 2.7.2 wit the help of installer
2. Windows service is running
3. Successfully connected to the Jenkins URL (http://localhost:8081)
Requirement:
I want to install ant plugin and when I tried to upload ant hpi manually thriugh 'Manage plugins' page it was looking for lot of dependent files and hence i chose to install from command prompt which would ease the process.
Hence I typed below command from jenkins installed directory
java -jar jenkins-cli.jar -s http://localhost:8081/ -noCertificateCheck install-plugin http://updates.jenkins.io/download/plugins/ant/1.4/ant.hpi -deploy -restart
Here I'm bypassing the ssl checks since updates.jenkins.io is a https enabled server and the output of above command is as below
Issue: (Output)
Skipping HTTPS certificate checks altogether. Note that this is not secure at all.
Installing a plugin from http://updates.jenkins.io/download/plugins/ant/1.4/ant.hpi
ERROR: Unexpected exception occurred while performing install-plugin command.
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at hudson.ClassicPluginStrategy.getShortName(ClassicPluginStrategy.java:114)
at hudson.PluginManager.dynamicLoad(PluginManager.java:787)
at hudson.PluginManager.dynamicLoad(PluginManager.java:775)
at hudson.cli.InstallPluginCommand.run(InstallPluginCommand.java:106)
at hudson.cli.CLICommand.main(CLICommand.java:257)
at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:884)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:859)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:818)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:332)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63)
at hudson.remoting.CallableDecoratorAdapter.call(CallableDecoratorAdapter.java:18)
at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)