Project

General

Profile

« Previous | Next » 

Revision 249a8e67

Added by Patrick Plitzner about 6 years ago

ref #7279 Delete update site before deploying a new build

View differences:

eu.etaxonomy.taxeditor/pom.xml
112 112
            <!-- Problems with the wagon-maven-plugin have been encounterd 
113 113
              on Windows, it should work properly on linux though. -->
114 114
            <executions>
115
              <execution>
115
             <execution>
116
              <id>delete_update_site</id>
117
              <phase>deploy</phase>
118
              <goals>
119
                <goal>sshexec</goal>
120
              </goals>
121
              <configuration>
122
                <serverId>update_site_server</serverId>
123
                <url>scp://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/</url>
124
                <commands>
125
                  <command>rm -r ${update.dir}/*</command>
126
                </commands>
127
              </configuration>
128
            </execution>
129
             <execution>
116 130
                <phase>package</phase>
117 131
                <goals>
118 132
                  <goal>upload</goal>

Also available in: Unified diff