Victor Chen created JENKINS-14069:
-------------------------------------

             Summary: Access denied when installing email-ext.jpi through 
Update Center
                 Key: JENKINS-14069
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-14069
             Project: Jenkins
          Issue Type: Bug
          Components: email-ext
         Environment: Ubuntu 10.04, Jenkins ver. 1.467, behind a firewall and 
uses http proxy
            Reporter: Victor Chen
         Attachments: email-ext.jpi

When installing Email-ext plugin, the downloaded jpi file is a HTML file saying 
access denied. Jenkins would try to unzip it and fail.
The detailed error messages are:

Email-ext plugin        
 Failure -
hudson.util.IOException2: Failed to dynamically deploy this plugin
        at 
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1176)
        at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:987)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
Caused by: hudson.util.IOException2: Failed to expand 
/var/lib/jenkins/plugins/email-ext.jpi
        at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:399)
        at 
hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:113)
        at hudson.PluginManager.dynamicLoad(PluginManager.java:369)
        at 
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1172)
        ... 7 more
Caused by: Error while expanding /var/lib/jenkins/plugins/email-ext.jpi
java.util.zip.ZipException: archive is not a ZIP archive
        at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:192)
        at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
        at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:397)
        ... 10 more
Caused by: java.util.zip.ZipException: archive is not a ZIP archive
        at 
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:481)
        at 
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:320)
        at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:186)
        at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:170)
        ... 12 more

Other plugins installs fine, so it is not likely to be the problem of the http 
proxy.
The downloaded email-ext.jpi is attached.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to