Skip to content

Commit

Permalink
retry maven deployment failures
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankit-google committed Feb 28, 2024
1 parent 7eea423 commit 9b6f903
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cdap-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -352,6 +353,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -392,6 +394,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
2 changes: 2 additions & 0 deletions cdap-distributions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -230,6 +231,7 @@
<file>${project.build.directory}/cdap_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -263,6 +264,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -303,6 +305,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-hbase-compat-1.0-cdh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -412,6 +413,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -452,6 +454,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-hbase-compat-1.0-cdh5.5.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -412,6 +413,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -452,6 +454,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-hbase-compat-1.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -398,6 +399,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -438,6 +440,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-hbase-compat-1.1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -398,6 +399,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -438,6 +440,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-hbase-compat-1.2-cdh5.7.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -411,6 +412,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -451,6 +453,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -182,6 +183,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -222,6 +224,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-master/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -1133,6 +1134,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -1173,6 +1175,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions cdap-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@
<classifier>1</classifier>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -321,6 +322,7 @@
<file>${project.build.directory}/${project.artifactId}_${package.version}-1_all.deb</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -361,6 +363,7 @@
<file>${project.build.directory}/${project.artifactId}-${package.version}.tar.gz</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
1 change: 1 addition & 0 deletions cdap-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@
<file>${project.build.directory}/cdap-sandbox-${project.version}.zip</file>
<repositoryId>continuuity</repositoryId>
<url>${deploy.url}</url>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8</version>
<configuration>
<retryFailedDeploymentCount>3</retryFailedDeploymentCount>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
Expand Down

0 comments on commit 9b6f903

Please sign in to comment.