It would be usefull to enable deployment of multiple files. Imagine a project where several webapp packages are created - e.g. in our big project maven builds several submodules, some of them .ear and .war. We'd like to deploy them all in one jenkins-job. There might be a dynamic list in the plugin's configuration where you put pairs "name"-"file", and the job would undeploy&deploy them all in a sequence.

          [JENKINS-16808] deployment of more files

          The plugin will manage many deployment tasks for a sigle job.
          To specify many deployment, A button 'Add' will display a new deployment task configuration (with the following fiels : environment, target, name, resource, library flag).

          About the sequence : It is perhaps possible to order deployment tasks configuration with a drag/drop feature.

          The deployment policy, when source change, build failed flag, dependencies features will keep their global scope.

          Raphael CHAUMIER added a comment - The plugin will manage many deployment tasks for a sigle job. To specify many deployment, A button 'Add' will display a new deployment task configuration (with the following fiels : environment, target, name, resource, library flag). About the sequence : It is perhaps possible to order deployment tasks configuration with a drag/drop feature. The deployment policy, when source change, build failed flag, dependencies features will keep their global scope.

          Implemented in 2.0 version

          Raphael CHAUMIER added a comment - Implemented in 2.0 version

          Javatar007 added a comment -

          Trying to update the plugin, getting error 'archive is not a ZIP archive'.
          I don't know if the problem is on my side :S
          Raphael, could you please verify the plugin format is correct?


          7 mars 2013 14:44:43 jenkins.InitReactorRunner$1 onTaskFailed
          GRAVE: Failed Inspecting plugin C:\Users\xixao\.jenkins\plugins\weblogic-deployer-plugin.jpi
          hudson.util.IOException2: Failed to expand C:\Users\xixao\.jenkins\plugins\weblogic-deployer-plugin.jpi
          at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:435)
          at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:122)
          at hudson.PluginManager$1$3$1.run(PluginManager.java:223)
          at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
          at jenkins.model.Jenkins$7.runTask(Jenkins.java:882)
          at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
          at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: Error while expanding C:\Users\xixao\.jenkins\plugins\weblogic-deployer-plugin.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:433)
          ... 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
          7 mars 2013 14:44:43 jenkins.InitReactorRunner$1 onAttained

          Javatar007 added a comment - Trying to update the plugin, getting error 'archive is not a ZIP archive'. I don't know if the problem is on my side :S Raphael, could you please verify the plugin format is correct? 7 mars 2013 14:44:43 jenkins.InitReactorRunner$1 onTaskFailed GRAVE: Failed Inspecting plugin C:\Users\xixao\.jenkins\plugins\weblogic-deployer-plugin.jpi hudson.util.IOException2: Failed to expand C:\Users\xixao\.jenkins\plugins\weblogic-deployer-plugin.jpi at hudson.ClassicPluginStrategy.explode(ClassicPluginStrategy.java:435) at hudson.ClassicPluginStrategy.createPluginWrapper(ClassicPluginStrategy.java:122) at hudson.PluginManager$1$3$1.run(PluginManager.java:223) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:882) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: Error while expanding C:\Users\xixao\.jenkins\plugins\weblogic-deployer-plugin.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:433) ... 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 7 mars 2013 14:44:43 jenkins.InitReactorRunner$1 onAttained

          I updated the plugin without any problem (my jenkins version is 1.504).

          Raphael CHAUMIER added a comment - I updated the plugin without any problem (my jenkins version is 1.504).

          Jesse Glick added a comment -

          (reopening just to clear bad labels)

          Jesse Glick added a comment - (reopening just to clear bad labels)

            raphc Raphael CHAUMIER
            javatar007 Javatar 007
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: