diff options
author | Zuul <zuul@review.openstack.org> | 2018-12-27 11:33:31 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-12-27 11:33:31 +0000 |
commit | 4e55ab1136d2b3d6f281c53d7c4e07a03ebf1d0b (patch) | |
tree | 9be87121380a97018d5afb55568d4db110e67490 /tests | |
parent | 7e974a6166009080c9641f1932014e8921e8a859 (diff) | |
parent | 78e4f00c6b15610104f4c958a1710611cd89e0ea (diff) | |
download | python-jenkins-job-builder-4e55ab1136d2b3d6f281c53d7c4e07a03ebf1d0b.tar.gz python-jenkins-job-builder-4e55ab1136d2b3d6f281c53d7c4e07a03ebf1d0b.tar.xz python-jenkins-job-builder-4e55ab1136d2b3d6f281c53d7c4e07a03ebf1d0b.zip |
Merge "Add retry support to plugins depend on Publish Over X"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/publishers/fixtures/cifs-full.xml | 4 | ||||
-rw-r--r-- | tests/publishers/fixtures/cifs-full.yaml | 2 | ||||
-rw-r--r-- | tests/publishers/fixtures/ftp-full.xml | 4 | ||||
-rw-r--r-- | tests/publishers/fixtures/ftp-full.yaml | 2 | ||||
-rw-r--r-- | tests/publishers/fixtures/ssh-full.xml | 4 | ||||
-rw-r--r-- | tests/publishers/fixtures/ssh-full.yaml | 2 |
6 files changed, 18 insertions, 0 deletions
diff --git a/tests/publishers/fixtures/cifs-full.xml b/tests/publishers/fixtures/cifs-full.xml index 363348be..0399fc5e 100644 --- a/tests/publishers/fixtures/cifs-full.xml +++ b/tests/publishers/fixtures/cifs-full.xml @@ -21,6 +21,10 @@ </transfers> <useWorkspaceInPromotion>false</useWorkspaceInPromotion> <usePromotionTimestamp>false</usePromotionTimestamp> + <retry class="jenkins.plugins.publish_over_cifs.CifsRetry"> + <retries>99</retries> + <retryDelay>12345</retryDelay> + </retry> </jenkins.plugins.publish__over__cifs.CifsPublisher> </publishers> <continueOnError>false</continueOnError> diff --git a/tests/publishers/fixtures/cifs-full.yaml b/tests/publishers/fixtures/cifs-full.yaml index 830e28d1..60af1dbe 100644 --- a/tests/publishers/fixtures/cifs-full.yaml +++ b/tests/publishers/fixtures/cifs-full.yaml @@ -10,3 +10,5 @@ publishers: fail-on-error: true flatten: true verbose: true + retries: 99 + retry-delay: 12345 diff --git a/tests/publishers/fixtures/ftp-full.xml b/tests/publishers/fixtures/ftp-full.xml index e36cad8b..5b8854c1 100644 --- a/tests/publishers/fixtures/ftp-full.xml +++ b/tests/publishers/fixtures/ftp-full.xml @@ -22,6 +22,10 @@ </transfers> <useWorkspaceInPromotion>false</useWorkspaceInPromotion> <usePromotionTimestamp>false</usePromotionTimestamp> + <retry class="jenkins.plugins.publish_over_ftp.BapFtpRetry"> + <retries>99</retries> + <retryDelay>12345</retryDelay> + </retry> </jenkins.plugins.publish__over__ftp.BapFtpPublisher> </publishers> <continueOnError>false</continueOnError> diff --git a/tests/publishers/fixtures/ftp-full.yaml b/tests/publishers/fixtures/ftp-full.yaml index bd6da185..46a126cd 100644 --- a/tests/publishers/fixtures/ftp-full.yaml +++ b/tests/publishers/fixtures/ftp-full.yaml @@ -10,3 +10,5 @@ publishers: fail-on-error: true flatten: true verbose: true + retries: 99 + retry-delay: 12345 diff --git a/tests/publishers/fixtures/ssh-full.xml b/tests/publishers/fixtures/ssh-full.xml index 5a526490..42b97bbd 100644 --- a/tests/publishers/fixtures/ssh-full.xml +++ b/tests/publishers/fixtures/ssh-full.xml @@ -24,6 +24,10 @@ </transfers> <useWorkspaceInPromotion>false</useWorkspaceInPromotion> <usePromotionTimestamp>false</usePromotionTimestamp> + <retry class="jenkins.plugins.publish_over_ssh.BapSshRetry"> + <retries>99</retries> + <retryDelay>12345</retryDelay> + </retry> </jenkins.plugins.publish__over__ssh.BapSshPublisher> </publishers> <continueOnError>false</continueOnError> diff --git a/tests/publishers/fixtures/ssh-full.yaml b/tests/publishers/fixtures/ssh-full.yaml index fe6e94a1..151a4924 100644 --- a/tests/publishers/fixtures/ssh-full.yaml +++ b/tests/publishers/fixtures/ssh-full.yaml @@ -14,3 +14,5 @@ publishers: always-publish-from-master: true flatten: true verbose: true + retries: 99 + retry-delay: 12345 |