From f0e874106ee878e492e3d1131856231965581c9f Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Sun, 11 Jun 2017 17:15:44 +0800 Subject: Update examples filename Update examples filename from '*complete*' to '*full*' to make all filename consistent. Change-Id: I37d3f9bf43cae455639fc2611e33734ea2c24ebc --- jenkins_jobs/modules/builders.py | 4 +- jenkins_jobs/modules/publishers.py | 26 +++++----- tests/builders/fixtures/http-request-complete.xml | 28 ----------- tests/builders/fixtures/http-request-complete.yaml | 18 ------- tests/builders/fixtures/http-request-full.xml | 28 +++++++++++ tests/builders/fixtures/http-request-full.yaml | 18 +++++++ tests/builders/fixtures/sonatype-clm-complete.xml | 20 -------- tests/builders/fixtures/sonatype-clm-complete.yaml | 11 ----- tests/builders/fixtures/sonatype-clm-full.xml | 20 ++++++++ tests/builders/fixtures/sonatype-clm-full.yaml | 11 +++++ tests/publishers/fixtures/cppcheck-complete.xml | 40 --------------- tests/publishers/fixtures/cppcheck-complete.yaml | 36 -------------- tests/publishers/fixtures/cppcheck-full.xml | 40 +++++++++++++++ tests/publishers/fixtures/cppcheck-full.yaml | 36 ++++++++++++++ .../fixtures/cucumber-reports-complete.xml | 18 ------- .../fixtures/cucumber-reports-complete.yaml | 13 ----- .../publishers/fixtures/cucumber-reports-full.xml | 18 +++++++ .../publishers/fixtures/cucumber-reports-full.yaml | 13 +++++ .../fixtures/cucumber-testresult-complete.xml | 9 ---- .../fixtures/cucumber-testresult-complete.yaml | 4 -- .../fixtures/cucumber-testresult-full.xml | 9 ++++ .../fixtures/cucumber-testresult-full.yaml | 4 ++ tests/publishers/fixtures/email-complete.xml | 10 ---- tests/publishers/fixtures/email-complete.yaml | 5 -- tests/publishers/fixtures/email-full.xml | 10 ++++ tests/publishers/fixtures/email-full.yaml | 5 ++ tests/publishers/fixtures/jabber-complete.xml | 24 --------- tests/publishers/fixtures/jabber-complete.yaml | 13 ----- tests/publishers/fixtures/jabber-full.xml | 24 +++++++++ tests/publishers/fixtures/jabber-full.yaml | 13 +++++ tests/publishers/fixtures/jacoco-complete.xml | 25 ---------- tests/publishers/fixtures/jacoco-complete.yaml | 27 ---------- tests/publishers/fixtures/jacoco-full.xml | 25 ++++++++++ tests/publishers/fixtures/jacoco-full.yaml | 27 ++++++++++ tests/publishers/fixtures/performance-complete.xml | 36 -------------- .../publishers/fixtures/performance-complete.yaml | 22 --------- tests/publishers/fixtures/performance-full.xml | 36 ++++++++++++++ tests/publishers/fixtures/performance-full.yaml | 22 +++++++++ tests/publishers/fixtures/richtext-complete.xml | 13 ----- tests/publishers/fixtures/richtext-complete.yaml | 8 --- tests/publishers/fixtures/richtext-full.xml | 13 +++++ tests/publishers/fixtures/richtext-full.yaml | 8 +++ tests/publishers/fixtures/robot-complete.xml | 21 -------- tests/publishers/fixtures/robot-complete.yaml | 15 ------ tests/publishers/fixtures/robot-full.xml | 21 ++++++++ tests/publishers/fixtures/robot-full.yaml | 15 ++++++ tests/publishers/fixtures/sloccount-complete.xml | 12 ----- tests/publishers/fixtures/sloccount-complete.yaml | 7 --- tests/publishers/fixtures/sloccount-full.xml | 12 +++++ tests/publishers/fixtures/sloccount-full.yaml | 7 +++ tests/publishers/fixtures/sonar-complete.xml | 25 ---------- tests/publishers/fixtures/sonar-complete.yaml | 15 ------ tests/publishers/fixtures/sonar-full.xml | 25 ++++++++++ tests/publishers/fixtures/sonar-full.yaml | 15 ++++++ tests/publishers/fixtures/warnings-complete.xml | 57 ---------------------- tests/publishers/fixtures/warnings-complete.yaml | 44 ----------------- tests/publishers/fixtures/warnings-full.xml | 57 ++++++++++++++++++++++ tests/publishers/fixtures/warnings-full.yaml | 44 +++++++++++++++++ .../fixtures/workspace-cleanup-complete.xml | 26 ---------- .../fixtures/workspace-cleanup-complete.yaml | 16 ------ .../publishers/fixtures/workspace-cleanup-full.xml | 26 ++++++++++ .../fixtures/workspace-cleanup-full.yaml | 16 ++++++ 62 files changed, 633 insertions(+), 633 deletions(-) delete mode 100644 tests/builders/fixtures/http-request-complete.xml delete mode 100644 tests/builders/fixtures/http-request-complete.yaml create mode 100644 tests/builders/fixtures/http-request-full.xml create mode 100644 tests/builders/fixtures/http-request-full.yaml delete mode 100644 tests/builders/fixtures/sonatype-clm-complete.xml delete mode 100644 tests/builders/fixtures/sonatype-clm-complete.yaml create mode 100644 tests/builders/fixtures/sonatype-clm-full.xml create mode 100644 tests/builders/fixtures/sonatype-clm-full.yaml delete mode 100644 tests/publishers/fixtures/cppcheck-complete.xml delete mode 100644 tests/publishers/fixtures/cppcheck-complete.yaml create mode 100644 tests/publishers/fixtures/cppcheck-full.xml create mode 100644 tests/publishers/fixtures/cppcheck-full.yaml delete mode 100644 tests/publishers/fixtures/cucumber-reports-complete.xml delete mode 100644 tests/publishers/fixtures/cucumber-reports-complete.yaml create mode 100644 tests/publishers/fixtures/cucumber-reports-full.xml create mode 100644 tests/publishers/fixtures/cucumber-reports-full.yaml delete mode 100644 tests/publishers/fixtures/cucumber-testresult-complete.xml delete mode 100644 tests/publishers/fixtures/cucumber-testresult-complete.yaml create mode 100644 tests/publishers/fixtures/cucumber-testresult-full.xml create mode 100644 tests/publishers/fixtures/cucumber-testresult-full.yaml delete mode 100644 tests/publishers/fixtures/email-complete.xml delete mode 100644 tests/publishers/fixtures/email-complete.yaml create mode 100644 tests/publishers/fixtures/email-full.xml create mode 100644 tests/publishers/fixtures/email-full.yaml delete mode 100644 tests/publishers/fixtures/jabber-complete.xml delete mode 100644 tests/publishers/fixtures/jabber-complete.yaml create mode 100644 tests/publishers/fixtures/jabber-full.xml create mode 100644 tests/publishers/fixtures/jabber-full.yaml delete mode 100644 tests/publishers/fixtures/jacoco-complete.xml delete mode 100644 tests/publishers/fixtures/jacoco-complete.yaml create mode 100644 tests/publishers/fixtures/jacoco-full.xml create mode 100644 tests/publishers/fixtures/jacoco-full.yaml delete mode 100644 tests/publishers/fixtures/performance-complete.xml delete mode 100644 tests/publishers/fixtures/performance-complete.yaml create mode 100644 tests/publishers/fixtures/performance-full.xml create mode 100644 tests/publishers/fixtures/performance-full.yaml delete mode 100644 tests/publishers/fixtures/richtext-complete.xml delete mode 100644 tests/publishers/fixtures/richtext-complete.yaml create mode 100644 tests/publishers/fixtures/richtext-full.xml create mode 100644 tests/publishers/fixtures/richtext-full.yaml delete mode 100644 tests/publishers/fixtures/robot-complete.xml delete mode 100644 tests/publishers/fixtures/robot-complete.yaml create mode 100644 tests/publishers/fixtures/robot-full.xml create mode 100644 tests/publishers/fixtures/robot-full.yaml delete mode 100644 tests/publishers/fixtures/sloccount-complete.xml delete mode 100644 tests/publishers/fixtures/sloccount-complete.yaml create mode 100644 tests/publishers/fixtures/sloccount-full.xml create mode 100644 tests/publishers/fixtures/sloccount-full.yaml delete mode 100644 tests/publishers/fixtures/sonar-complete.xml delete mode 100644 tests/publishers/fixtures/sonar-complete.yaml create mode 100644 tests/publishers/fixtures/sonar-full.xml create mode 100644 tests/publishers/fixtures/sonar-full.yaml delete mode 100644 tests/publishers/fixtures/warnings-complete.xml delete mode 100644 tests/publishers/fixtures/warnings-complete.yaml create mode 100644 tests/publishers/fixtures/warnings-full.xml create mode 100644 tests/publishers/fixtures/warnings-full.yaml delete mode 100644 tests/publishers/fixtures/workspace-cleanup-complete.xml delete mode 100644 tests/publishers/fixtures/workspace-cleanup-complete.yaml create mode 100644 tests/publishers/fixtures/workspace-cleanup-full.xml create mode 100644 tests/publishers/fixtures/workspace-cleanup-full.yaml diff --git a/jenkins_jobs/modules/builders.py b/jenkins_jobs/modules/builders.py index 9bba029f..3696d072 100644 --- a/jenkins_jobs/modules/builders.py +++ b/jenkins_jobs/modules/builders.py @@ -817,7 +817,7 @@ def http_request(registry, xml_parent, data): :language: yaml .. literalinclude:: - ../../tests/builders/fixtures/http-request-complete.yaml + ../../tests/builders/fixtures/http-request-full.yaml :language: yaml """ @@ -3141,7 +3141,7 @@ def sonatype_clm(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/builders/fixtures/sonatype-clm-complete.yaml + /../../tests/builders/fixtures/sonatype-clm-full.yaml :language: yaml """ clm = XML.SubElement(xml_parent, diff --git a/jenkins_jobs/modules/publishers.py b/jenkins_jobs/modules/publishers.py index 0ef3925d..d347180f 100644 --- a/jenkins_jobs/modules/publishers.py +++ b/jenkins_jobs/modules/publishers.py @@ -1031,7 +1031,7 @@ def jacoco(registry, xml_parent, data): Full Example: - .. literalinclude:: /../../tests/publishers/fixtures/jacoco-complete.yaml + .. literalinclude:: /../../tests/publishers/fixtures/jacoco-full.yaml :language: yaml """ @@ -1282,7 +1282,7 @@ def cucumber_reports(registry, xml_parent, data): Full example: .. literalinclude:: - /../../tests/publishers/fixtures/cucumber-reports-complete.yaml + /../../tests/publishers/fixtures/cucumber-reports-full.yaml :language: yaml Minimal Example: @@ -1331,7 +1331,7 @@ def cucumber_testresult(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/publishers/fixtures/cucumber-testresult-complete.yaml + /../../tests/publishers/fixtures/cucumber-testresult-full.yaml :language: yaml """ cucumber_result = XML.SubElement(xml_parent, @@ -1937,7 +1937,7 @@ def email(registry, xml_parent, data): /../../tests/publishers/fixtures/email-minimal.yaml :language: yaml - .. literalinclude:: /../../tests/publishers/fixtures/email-complete.yaml + .. literalinclude:: /../../tests/publishers/fixtures/email-full.yaml :language: yaml """ @@ -2272,7 +2272,7 @@ def cppcheck(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/publishers/fixtures/cppcheck-complete.yaml + /../../tests/publishers/fixtures/cppcheck-full.yaml :language: yaml """ @@ -2701,7 +2701,7 @@ def sonar(registry, xml_parent, data): :language: yaml Full Example: - .. literalinclude:: /../../tests/publishers/fixtures/sonar-complete.yaml + .. literalinclude:: /../../tests/publishers/fixtures/sonar-full.yaml :language: yaml """ @@ -2790,7 +2790,7 @@ def performance(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/publishers/fixtures/performance-complete.yaml + /../../tests/publishers/fixtures/performance-full.yaml :language: yaml """ perf = XML.SubElement(xml_parent, 'hudson.plugins.performance.' @@ -2937,7 +2937,7 @@ def jabber(registry, xml_parent, data): Full Example: - .. literalinclude:: /../../tests/publishers/fixtures/jabber-complete.yaml + .. literalinclude:: /../../tests/publishers/fixtures/jabber-full.yaml :language: yaml """ j = XML.SubElement(xml_parent, 'hudson.plugins.jabber.im.transport.' @@ -3026,7 +3026,7 @@ def workspace_cleanup(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/publishers/fixtures/workspace-cleanup-complete.yaml + /../../tests/publishers/fixtures/workspace-cleanup-full.yaml :language: yaml """ @@ -3466,7 +3466,7 @@ def rich_text_publisher(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/publishers/fixtures/richtext-complete.yaml + /../../tests/publishers/fixtures/richtext-full.yaml :language: yaml """ @@ -3798,7 +3798,7 @@ def robot(registry, xml_parent, data): Full Example: - .. literalinclude:: /../../tests/publishers/fixtures/robot-complete.yaml + .. literalinclude:: /../../tests/publishers/fixtures/robot-full.yaml :language: yaml """ parent = XML.SubElement(xml_parent, 'hudson.plugins.robot.RobotPublisher') @@ -3933,7 +3933,7 @@ def warnings(registry, xml_parent, data): Full Example: - .. literalinclude:: /../../tests/publishers/fixtures/warnings-complete.yaml + .. literalinclude:: /../../tests/publishers/fixtures/warnings-full.yaml :language: yaml """ @@ -4038,7 +4038,7 @@ def sloccount(registry, xml_parent, data): Full Example: .. literalinclude:: - /../../tests/publishers/fixtures/sloccount-complete.yaml + /../../tests/publishers/fixtures/sloccount-full.yaml :language: yaml """ top = XML.SubElement(xml_parent, diff --git a/tests/builders/fixtures/http-request-complete.xml b/tests/builders/fixtures/http-request-complete.xml deleted file mode 100644 index d7d00d43..00000000 --- a/tests/builders/fixtures/http-request-complete.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - http://example.com/jenkinsTest - POST - TEXT_HTML - TEXT_HTML - response_file.txt - true - true - 10 - 100:399 - foo - authenticationkey - - - header - value - - - header2 - value2 - - - - - diff --git a/tests/builders/fixtures/http-request-complete.yaml b/tests/builders/fixtures/http-request-complete.yaml deleted file mode 100644 index dff4505a..00000000 --- a/tests/builders/fixtures/http-request-complete.yaml +++ /dev/null @@ -1,18 +0,0 @@ -builders: - - http-request: - url: http://example.com/jenkinsTest - mode: POST - pass-build: true - content-type: TEXT_HTML - accept-type: TEXT_HTML - output-file: response_file.txt - authentication-key: authenticationkey - console-log: true - time-out: 10 - valid-response-codes: 100:399 - valid-response-content: foo - custom-headers: - - name: header - value: value - - name: header2 - value: value2 diff --git a/tests/builders/fixtures/http-request-full.xml b/tests/builders/fixtures/http-request-full.xml new file mode 100644 index 00000000..d7d00d43 --- /dev/null +++ b/tests/builders/fixtures/http-request-full.xml @@ -0,0 +1,28 @@ + + + + + http://example.com/jenkinsTest + POST + TEXT_HTML + TEXT_HTML + response_file.txt + true + true + 10 + 100:399 + foo + authenticationkey + + + header + value + + + header2 + value2 + + + + + diff --git a/tests/builders/fixtures/http-request-full.yaml b/tests/builders/fixtures/http-request-full.yaml new file mode 100644 index 00000000..dff4505a --- /dev/null +++ b/tests/builders/fixtures/http-request-full.yaml @@ -0,0 +1,18 @@ +builders: + - http-request: + url: http://example.com/jenkinsTest + mode: POST + pass-build: true + content-type: TEXT_HTML + accept-type: TEXT_HTML + output-file: response_file.txt + authentication-key: authenticationkey + console-log: true + time-out: 10 + valid-response-codes: 100:399 + valid-response-content: foo + custom-headers: + - name: header + value: value + - name: header2 + value: value2 diff --git a/tests/builders/fixtures/sonatype-clm-complete.xml b/tests/builders/fixtures/sonatype-clm-complete.xml deleted file mode 100644 index d4eb73e8..00000000 --- a/tests/builders/fixtures/sonatype-clm-complete.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - manual - jenkins-job-builder - - - **/*.jar - **/my-module/target/** - test - - true - release - bar - 06XQY39LHGACt3r3kzSULg== - - - diff --git a/tests/builders/fixtures/sonatype-clm-complete.yaml b/tests/builders/fixtures/sonatype-clm-complete.yaml deleted file mode 100644 index 19a9d008..00000000 --- a/tests/builders/fixtures/sonatype-clm-complete.yaml +++ /dev/null @@ -1,11 +0,0 @@ -builders: - - sonatype-clm: - value: manual - application-name: jenkins-job-builder - fail-on-clm-server-failure: true - stage: release - scan-targets: '**/*.jar' - module-excludes: '**/my-module/target/**' - advanced-options: 'test' - username: bar - password: 06XQY39LHGACt3r3kzSULg== diff --git a/tests/builders/fixtures/sonatype-clm-full.xml b/tests/builders/fixtures/sonatype-clm-full.xml new file mode 100644 index 00000000..d4eb73e8 --- /dev/null +++ b/tests/builders/fixtures/sonatype-clm-full.xml @@ -0,0 +1,20 @@ + + + + + + manual + jenkins-job-builder + + + **/*.jar + **/my-module/target/** + test + + true + release + bar + 06XQY39LHGACt3r3kzSULg== + + + diff --git a/tests/builders/fixtures/sonatype-clm-full.yaml b/tests/builders/fixtures/sonatype-clm-full.yaml new file mode 100644 index 00000000..19a9d008 --- /dev/null +++ b/tests/builders/fixtures/sonatype-clm-full.yaml @@ -0,0 +1,11 @@ +builders: + - sonatype-clm: + value: manual + application-name: jenkins-job-builder + fail-on-clm-server-failure: true + stage: release + scan-targets: '**/*.jar' + module-excludes: '**/my-module/target/**' + advanced-options: 'test' + username: bar + password: 06XQY39LHGACt3r3kzSULg== diff --git a/tests/publishers/fixtures/cppcheck-complete.xml b/tests/publishers/fixtures/cppcheck-complete.xml deleted file mode 100644 index 9932d1d4..00000000 --- a/tests/publishers/fixtures/cppcheck-complete.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - **/cppcheck.xml - true - true - - 5 - 5 - 7 - 3 - 5 - 10 - false - false - false - false - false - false - false - - - 600 - 300 - 10 - false - true - true - true - true - true - true - true - - - - - diff --git a/tests/publishers/fixtures/cppcheck-complete.yaml b/tests/publishers/fixtures/cppcheck-complete.yaml deleted file mode 100644 index b18ba5a3..00000000 --- a/tests/publishers/fixtures/cppcheck-complete.yaml +++ /dev/null @@ -1,36 +0,0 @@ -publishers: - - cppcheck: - pattern: "**/cppcheck.xml" - # the rest is optional - ignoreblankfiles: true - allow-no-report: true - # build status (new) error count thresholds - thresholds: - unstable: 5 - new-unstable: 5 - failure: 7 - new-failure: 3 - healthy: 5 - unhealthy: 10 - # severities which count towards the threshold, default all true - severity: - error: false - warning: false - style: false - performance: false - information: false - nocategory: false - portability: false - graph: - xysize: [600, 300] - num-builds-in-graph: 10 - # which errors to display, default only sum - display: - sum: false - error: true - warning: true - style: true - performance: true - information: true - nocategory: true - portability: true diff --git a/tests/publishers/fixtures/cppcheck-full.xml b/tests/publishers/fixtures/cppcheck-full.xml new file mode 100644 index 00000000..9932d1d4 --- /dev/null +++ b/tests/publishers/fixtures/cppcheck-full.xml @@ -0,0 +1,40 @@ + + + + + + **/cppcheck.xml + true + true + + 5 + 5 + 7 + 3 + 5 + 10 + false + false + false + false + false + false + false + + + 600 + 300 + 10 + false + true + true + true + true + true + true + true + + + + + diff --git a/tests/publishers/fixtures/cppcheck-full.yaml b/tests/publishers/fixtures/cppcheck-full.yaml new file mode 100644 index 00000000..b18ba5a3 --- /dev/null +++ b/tests/publishers/fixtures/cppcheck-full.yaml @@ -0,0 +1,36 @@ +publishers: + - cppcheck: + pattern: "**/cppcheck.xml" + # the rest is optional + ignoreblankfiles: true + allow-no-report: true + # build status (new) error count thresholds + thresholds: + unstable: 5 + new-unstable: 5 + failure: 7 + new-failure: 3 + healthy: 5 + unhealthy: 10 + # severities which count towards the threshold, default all true + severity: + error: false + warning: false + style: false + performance: false + information: false + nocategory: false + portability: false + graph: + xysize: [600, 300] + num-builds-in-graph: 10 + # which errors to display, default only sum + display: + sum: false + error: true + warning: true + style: true + performance: true + information: true + nocategory: true + portability: true diff --git a/tests/publishers/fixtures/cucumber-reports-complete.xml b/tests/publishers/fixtures/cucumber-reports-complete.xml deleted file mode 100644 index 4d6273e6..00000000 --- a/tests/publishers/fixtures/cucumber-reports-complete.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - path - http://example.com/ - **/*.json - badfile.txt - true - true - true - true - true - true - true - - - diff --git a/tests/publishers/fixtures/cucumber-reports-complete.yaml b/tests/publishers/fixtures/cucumber-reports-complete.yaml deleted file mode 100644 index af315c4d..00000000 --- a/tests/publishers/fixtures/cucumber-reports-complete.yaml +++ /dev/null @@ -1,13 +0,0 @@ -publishers: - - cucumber-reports: - json-reports-path: path - plugin-url-path: http://example.com/ - file-include-pattern: '**/*.json' - file-exclude-pattern: badfile.txt - skipped-fails: true - pending-fails: true - undefined-fails: true - missing-fails: true - no-flash-charts: true - ignore-failed-tests: true - parallel-testing: true diff --git a/tests/publishers/fixtures/cucumber-reports-full.xml b/tests/publishers/fixtures/cucumber-reports-full.xml new file mode 100644 index 00000000..4d6273e6 --- /dev/null +++ b/tests/publishers/fixtures/cucumber-reports-full.xml @@ -0,0 +1,18 @@ + + + + + path + http://example.com/ + **/*.json + badfile.txt + true + true + true + true + true + true + true + + + diff --git a/tests/publishers/fixtures/cucumber-reports-full.yaml b/tests/publishers/fixtures/cucumber-reports-full.yaml new file mode 100644 index 00000000..af315c4d --- /dev/null +++ b/tests/publishers/fixtures/cucumber-reports-full.yaml @@ -0,0 +1,13 @@ +publishers: + - cucumber-reports: + json-reports-path: path + plugin-url-path: http://example.com/ + file-include-pattern: '**/*.json' + file-exclude-pattern: badfile.txt + skipped-fails: true + pending-fails: true + undefined-fails: true + missing-fails: true + no-flash-charts: true + ignore-failed-tests: true + parallel-testing: true diff --git a/tests/publishers/fixtures/cucumber-testresult-complete.xml b/tests/publishers/fixtures/cucumber-testresult-complete.xml deleted file mode 100644 index 6f44beaa..00000000 --- a/tests/publishers/fixtures/cucumber-testresult-complete.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - nosetests.xml - true - - - diff --git a/tests/publishers/fixtures/cucumber-testresult-complete.yaml b/tests/publishers/fixtures/cucumber-testresult-complete.yaml deleted file mode 100644 index 6a00d02b..00000000 --- a/tests/publishers/fixtures/cucumber-testresult-complete.yaml +++ /dev/null @@ -1,4 +0,0 @@ -publishers: -- cucumber-testresult: - results: nosetests.xml - ignore-bad-steps: true diff --git a/tests/publishers/fixtures/cucumber-testresult-full.xml b/tests/publishers/fixtures/cucumber-testresult-full.xml new file mode 100644 index 00000000..6f44beaa --- /dev/null +++ b/tests/publishers/fixtures/cucumber-testresult-full.xml @@ -0,0 +1,9 @@ + + + + + nosetests.xml + true + + + diff --git a/tests/publishers/fixtures/cucumber-testresult-full.yaml b/tests/publishers/fixtures/cucumber-testresult-full.yaml new file mode 100644 index 00000000..6a00d02b --- /dev/null +++ b/tests/publishers/fixtures/cucumber-testresult-full.yaml @@ -0,0 +1,4 @@ +publishers: +- cucumber-testresult: + results: nosetests.xml + ignore-bad-steps: true diff --git a/tests/publishers/fixtures/email-complete.xml b/tests/publishers/fixtures/email-complete.xml deleted file mode 100644 index 5f9d33ea..00000000 --- a/tests/publishers/fixtures/email-complete.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - foo@example.com bar@example.com - true - true - - - diff --git a/tests/publishers/fixtures/email-complete.yaml b/tests/publishers/fixtures/email-complete.yaml deleted file mode 100644 index d2739775..00000000 --- a/tests/publishers/fixtures/email-complete.yaml +++ /dev/null @@ -1,5 +0,0 @@ -publishers: - - email: - recipients: foo@example.com bar@example.com - notify-every-unstable-build: false - send-to-individuals: true diff --git a/tests/publishers/fixtures/email-full.xml b/tests/publishers/fixtures/email-full.xml new file mode 100644 index 00000000..5f9d33ea --- /dev/null +++ b/tests/publishers/fixtures/email-full.xml @@ -0,0 +1,10 @@ + + + + + foo@example.com bar@example.com + true + true + + + diff --git a/tests/publishers/fixtures/email-full.yaml b/tests/publishers/fixtures/email-full.yaml new file mode 100644 index 00000000..d2739775 --- /dev/null +++ b/tests/publishers/fixtures/email-full.yaml @@ -0,0 +1,5 @@ +publishers: + - email: + recipients: foo@example.com bar@example.com + notify-every-unstable-build: false + send-to-individuals: true diff --git a/tests/publishers/fixtures/jabber-complete.xml b/tests/publishers/fixtures/jabber-complete.xml deleted file mode 100644 index a9f09134..00000000 --- a/tests/publishers/fixtures/jabber-complete.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - foo-room@conference-2-fooserver.foo.com - false - - - foo-user@conference-2-fooserver.foo.com - - - NEW_FAILURE_AND_FIXED - true - true - true - true - true - - ONLY_CONFIGURATIONS - - - diff --git a/tests/publishers/fixtures/jabber-complete.yaml b/tests/publishers/fixtures/jabber-complete.yaml deleted file mode 100644 index a2da5701..00000000 --- a/tests/publishers/fixtures/jabber-complete.yaml +++ /dev/null @@ -1,13 +0,0 @@ -publishers: - - jabber: - notify-on-build-start: true - notify-scm-committers: true - notify-scm-culprits: true - notify-upstream-committers: true - notify-scm-fixers: true - group-targets: - - "foo-room@conference-2-fooserver.foo.com" - individual-targets: - - "foo-user@conference-2-fooserver.foo.com" - strategy: new-failure-fixed - message: summary diff --git a/tests/publishers/fixtures/jabber-full.xml b/tests/publishers/fixtures/jabber-full.xml new file mode 100644 index 00000000..a9f09134 --- /dev/null +++ b/tests/publishers/fixtures/jabber-full.xml @@ -0,0 +1,24 @@ + + + + + + + foo-room@conference-2-fooserver.foo.com + false + + + foo-user@conference-2-fooserver.foo.com + + + NEW_FAILURE_AND_FIXED + true + true + true + true + true + + ONLY_CONFIGURATIONS + + + diff --git a/tests/publishers/fixtures/jabber-full.yaml b/tests/publishers/fixtures/jabber-full.yaml new file mode 100644 index 00000000..a2da5701 --- /dev/null +++ b/tests/publishers/fixtures/jabber-full.yaml @@ -0,0 +1,13 @@ +publishers: + - jabber: + notify-on-build-start: true + notify-scm-committers: true + notify-scm-culprits: true + notify-upstream-committers: true + notify-scm-fixers: true + group-targets: + - "foo-room@conference-2-fooserver.foo.com" + individual-targets: + - "foo-user@conference-2-fooserver.foo.com" + strategy: new-failure-fixed + message: summary diff --git a/tests/publishers/fixtures/jacoco-complete.xml b/tests/publishers/fixtures/jacoco-complete.xml deleted file mode 100644 index 1c11bb97..00000000 --- a/tests/publishers/fixtures/jacoco-complete.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - **/**.exec - **/classes - **/src/main/java - true - **/*.class - **/*Test*.class - 7 - 1 - 8 - 2 - 9 - 3 - 10 - 4 - 11 - 5 - 12 - 6 - - - diff --git a/tests/publishers/fixtures/jacoco-complete.yaml b/tests/publishers/fixtures/jacoco-complete.yaml deleted file mode 100644 index f1ea1d8b..00000000 --- a/tests/publishers/fixtures/jacoco-complete.yaml +++ /dev/null @@ -1,27 +0,0 @@ -publishers: - - jacoco: - exec-pattern: '**/**.exec' - class-pattern: '**/classes' - source-pattern: '**/src/main/java' - update-build-status: true - inclusion-pattern: '**/*.class' - exclusion-pattern: '**/*Test*.class' - targets: - - instruction: - healthy: 7 - unhealthy: 1 - - branch: - healthy: 8 - unhealthy: 2 - - complexity: - healthy: 9 - unhealthy: 3 - - line: - healthy: 10 - unhealthy: 4 - - method: - healthy: 11 - unhealthy: 5 - - class: - healthy: 12 - unhealthy: 6 diff --git a/tests/publishers/fixtures/jacoco-full.xml b/tests/publishers/fixtures/jacoco-full.xml new file mode 100644 index 00000000..1c11bb97 --- /dev/null +++ b/tests/publishers/fixtures/jacoco-full.xml @@ -0,0 +1,25 @@ + + + + + **/**.exec + **/classes + **/src/main/java + true + **/*.class + **/*Test*.class + 7 + 1 + 8 + 2 + 9 + 3 + 10 + 4 + 11 + 5 + 12 + 6 + + + diff --git a/tests/publishers/fixtures/jacoco-full.yaml b/tests/publishers/fixtures/jacoco-full.yaml new file mode 100644 index 00000000..f1ea1d8b --- /dev/null +++ b/tests/publishers/fixtures/jacoco-full.yaml @@ -0,0 +1,27 @@ +publishers: + - jacoco: + exec-pattern: '**/**.exec' + class-pattern: '**/classes' + source-pattern: '**/src/main/java' + update-build-status: true + inclusion-pattern: '**/*.class' + exclusion-pattern: '**/*Test*.class' + targets: + - instruction: + healthy: 7 + unhealthy: 1 + - branch: + healthy: 8 + unhealthy: 2 + - complexity: + healthy: 9 + unhealthy: 3 + - line: + healthy: 10 + unhealthy: 4 + - method: + healthy: 11 + unhealthy: 5 + - class: + healthy: 12 + unhealthy: 6 diff --git a/tests/publishers/fixtures/performance-complete.xml b/tests/publishers/fixtures/performance-complete.xml deleted file mode 100644 index 8ef80d07..00000000 --- a/tests/publishers/fixtures/performance-complete.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - 85 - -1 - JMeterResultsOrders.jtl:2000 - 90.0 - 10.0 - 80.0 - 20.0 - 10 - true - PRT - true - true - true - false - true - - - /special/file.jtl - - - /special/file.xml - - - **/*.jtl - - - **/TEST-*.xml - - - - - diff --git a/tests/publishers/fixtures/performance-complete.yaml b/tests/publishers/fixtures/performance-complete.yaml deleted file mode 100644 index ff283912..00000000 --- a/tests/publishers/fixtures/performance-complete.yaml +++ /dev/null @@ -1,22 +0,0 @@ -publishers: - - performance: - failed-threshold: 85 - unstable-threshold: -1 - unstable-response-time-threshold: "JMeterResultsOrders.jtl:2000" - failed-threshold-positive: 90.0 - failed-threshold-negative: 10.0 - unstable-threshold-positive: 80.0 - unstable-threshold-negative: 20.0 - nth-build-number: 10 - mode-relative-thresholds: true - config-type: "PRT" - mode-of-threshold: true - fail-build: true - compare-build-previous: true - mode-performance-per-test-case: false - mode-thoughput: true - report: - - jmeter: "/special/file.jtl" - - junit: "/special/file.xml" - - jmeter - - junit diff --git a/tests/publishers/fixtures/performance-full.xml b/tests/publishers/fixtures/performance-full.xml new file mode 100644 index 00000000..8ef80d07 --- /dev/null +++ b/tests/publishers/fixtures/performance-full.xml @@ -0,0 +1,36 @@ + + + + + 85 + -1 + JMeterResultsOrders.jtl:2000 + 90.0 + 10.0 + 80.0 + 20.0 + 10 + true + PRT + true + true + true + false + true + + + /special/file.jtl + + + /special/file.xml + + + **/*.jtl + + + **/TEST-*.xml + + + + + diff --git a/tests/publishers/fixtures/performance-full.yaml b/tests/publishers/fixtures/performance-full.yaml new file mode 100644 index 00000000..ff283912 --- /dev/null +++ b/tests/publishers/fixtures/performance-full.yaml @@ -0,0 +1,22 @@ +publishers: + - performance: + failed-threshold: 85 + unstable-threshold: -1 + unstable-response-time-threshold: "JMeterResultsOrders.jtl:2000" + failed-threshold-positive: 90.0 + failed-threshold-negative: 10.0 + unstable-threshold-positive: 80.0 + unstable-threshold-negative: 20.0 + nth-build-number: 10 + mode-relative-thresholds: true + config-type: "PRT" + mode-of-threshold: true + fail-build: true + compare-build-previous: true + mode-performance-per-test-case: false + mode-thoughput: true + report: + - jmeter: "/special/file.jtl" + - junit: "/special/file.xml" + - jmeter + - junit diff --git a/tests/publishers/fixtures/richtext-complete.xml b/tests/publishers/fixtures/richtext-complete.xml deleted file mode 100644 index 58fadac0..00000000 --- a/tests/publishers/fixtures/richtext-complete.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - the stable text - the unstable text - the failed text - false - false - HTML - - - diff --git a/tests/publishers/fixtures/richtext-complete.yaml b/tests/publishers/fixtures/richtext-complete.yaml deleted file mode 100644 index 593588e9..00000000 --- a/tests/publishers/fixtures/richtext-complete.yaml +++ /dev/null @@ -1,8 +0,0 @@ -publishers: - - rich-text-publisher: - stable-text: the stable text - unstable-text: the unstable text - failed-text: the failed text - unstable-as-stable: false - failed-as-stable: false - parser-name: HTML diff --git a/tests/publishers/fixtures/richtext-full.xml b/tests/publishers/fixtures/richtext-full.xml new file mode 100644 index 00000000..58fadac0 --- /dev/null +++ b/tests/publishers/fixtures/richtext-full.xml @@ -0,0 +1,13 @@ + + + + + the stable text + the unstable text + the failed text + false + false + HTML + + + diff --git a/tests/publishers/fixtures/richtext-full.yaml b/tests/publishers/fixtures/richtext-full.yaml new file mode 100644 index 00000000..593588e9 --- /dev/null +++ b/tests/publishers/fixtures/richtext-full.yaml @@ -0,0 +1,8 @@ +publishers: + - rich-text-publisher: + stable-text: the stable text + unstable-text: the unstable text + failed-text: the failed text + unstable-as-stable: false + failed-as-stable: false + parser-name: HTML diff --git a/tests/publishers/fixtures/robot-complete.xml b/tests/publishers/fixtures/robot-complete.xml deleted file mode 100644 index 7c3ceaf1..00000000 --- a/tests/publishers/fixtures/robot-complete.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - reports/robot - report.html - custom-report.html - custom-log.html - custom-output.xml - 80.0 - 60.0 - false - false - - extra-file1.html - extra-file2.txt - - true - - - diff --git a/tests/publishers/fixtures/robot-complete.yaml b/tests/publishers/fixtures/robot-complete.yaml deleted file mode 100644 index fa4019ef..00000000 --- a/tests/publishers/fixtures/robot-complete.yaml +++ /dev/null @@ -1,15 +0,0 @@ -publishers: - - robot: - output-path: reports/robot - log-file-link: report.html - report-html: custom-report.html - log-html: custom-log.html - output-xml: custom-output.xml - pass-threshold: 80.0 - unstable-threshold: 60.0 - only-critical: false - enable-cache: false - other-files: - - extra-file1.html - - extra-file2.txt - archive-output-xml: false diff --git a/tests/publishers/fixtures/robot-full.xml b/tests/publishers/fixtures/robot-full.xml new file mode 100644 index 00000000..7c3ceaf1 --- /dev/null +++ b/tests/publishers/fixtures/robot-full.xml @@ -0,0 +1,21 @@ + + + + + reports/robot + report.html + custom-report.html + custom-log.html + custom-output.xml + 80.0 + 60.0 + false + false + + extra-file1.html + extra-file2.txt + + true + + + diff --git a/tests/publishers/fixtures/robot-full.yaml b/tests/publishers/fixtures/robot-full.yaml new file mode 100644 index 00000000..fa4019ef --- /dev/null +++ b/tests/publishers/fixtures/robot-full.yaml @@ -0,0 +1,15 @@ +publishers: + - robot: + output-path: reports/robot + log-file-link: report.html + report-html: custom-report.html + log-html: custom-log.html + output-xml: custom-output.xml + pass-threshold: 80.0 + unstable-threshold: 60.0 + only-critical: false + enable-cache: false + other-files: + - extra-file1.html + - extra-file2.txt + archive-output-xml: false diff --git a/tests/publishers/fixtures/sloccount-complete.xml b/tests/publishers/fixtures/sloccount-complete.xml deleted file mode 100644 index 3af2736b..00000000 --- a/tests/publishers/fixtures/sloccount-complete.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - sloccount.sc - latin-1 - 1 - true - true - - - diff --git a/tests/publishers/fixtures/sloccount-complete.yaml b/tests/publishers/fixtures/sloccount-complete.yaml deleted file mode 100644 index 43b61fcc..00000000 --- a/tests/publishers/fixtures/sloccount-complete.yaml +++ /dev/null @@ -1,7 +0,0 @@ -publishers: - - sloccount: - report-files: sloccount.sc - charset: latin-1 - builds-in-graph: 1 - comment-is-code: true - ignore-build-failure: true diff --git a/tests/publishers/fixtures/sloccount-full.xml b/tests/publishers/fixtures/sloccount-full.xml new file mode 100644 index 00000000..3af2736b --- /dev/null +++ b/tests/publishers/fixtures/sloccount-full.xml @@ -0,0 +1,12 @@ + + + + + sloccount.sc + latin-1 + 1 + true + true + + + diff --git a/tests/publishers/fixtures/sloccount-full.yaml b/tests/publishers/fixtures/sloccount-full.yaml new file mode 100644 index 00000000..43b61fcc --- /dev/null +++ b/tests/publishers/fixtures/sloccount-full.yaml @@ -0,0 +1,7 @@ +publishers: + - sloccount: + report-files: sloccount.sc + charset: latin-1 + builds-in-graph: 1 + comment-is-code: true + ignore-build-failure: true diff --git a/tests/publishers/fixtures/sonar-complete.xml b/tests/publishers/fixtures/sonar-complete.xml deleted file mode 100644 index 830adda4..00000000 --- a/tests/publishers/fixtures/sonar-complete.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - MyJdk - myBranch - java - mypom.xml - true - -DskipTests - -DsonarHostURL=http://example.com/ - - true - true - SKIP_SONAR - - - org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig0123456789012 - - - org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig0123456789012 - - - - diff --git a/tests/publishers/fixtures/sonar-complete.yaml b/tests/publishers/fixtures/sonar-complete.yaml deleted file mode 100644 index 0aa1b45b..00000000 --- a/tests/publishers/fixtures/sonar-complete.yaml +++ /dev/null @@ -1,15 +0,0 @@ -publishers: - - sonar: - jdk: MyJdk - branch: myBranch - language: java - root-pom: mypom.xml - private-maven-repo: true - maven-opts: -DskipTests - additional-properties: -DsonarHostURL=http://example.com/ - skip-global-triggers: - skip-when-scm-change: true - skip-when-upstream-build: true - skip-when-envvar-defined: SKIP_SONAR - settings: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig0123456789012 - global-settings: org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig0123456789012 diff --git a/tests/publishers/fixtures/sonar-full.xml b/tests/publishers/fixtures/sonar-full.xml new file mode 100644 index 00000000..830adda4 --- /dev/null +++ b/tests/publishers/fixtures/sonar-full.xml @@ -0,0 +1,25 @@ + + + + + MyJdk + myBranch + java + mypom.xml + true + -DskipTests + -DsonarHostURL=http://example.com/ + + true + true + SKIP_SONAR + + + org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig0123456789012 + + + org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig0123456789012 + + + + diff --git a/tests/publishers/fixtures/sonar-full.yaml b/tests/publishers/fixtures/sonar-full.yaml new file mode 100644 index 00000000..0aa1b45b --- /dev/null +++ b/tests/publishers/fixtures/sonar-full.yaml @@ -0,0 +1,15 @@ +publishers: + - sonar: + jdk: MyJdk + branch: myBranch + language: java + root-pom: mypom.xml + private-maven-repo: true + maven-opts: -DskipTests + additional-properties: -DsonarHostURL=http://example.com/ + skip-global-triggers: + skip-when-scm-change: true + skip-when-upstream-build: true + skip-when-envvar-defined: SKIP_SONAR + settings: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig0123456789012 + global-settings: org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig0123456789012 diff --git a/tests/publishers/fixtures/warnings-complete.xml b/tests/publishers/fixtures/warnings-complete.xml deleted file mode 100644 index d3bfc473..00000000 --- a/tests/publishers/fixtures/warnings-complete.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - FxCop - - - CodeAnalysis - - - - - **/*.out - AcuCobol Compiler - - - **/*.warnings - FxCop - - - [a-zA-Z]\.java,[a-zA-Z]\.cpp - [a-zA-Z]\.html,[a-zA-Z]\.js - [WARNINGS] - true - true - 50 - 25 - normal - ISO-8859-9 - false - - 90 - 90 - 40 - 30 - 100 - 100 - 50 - 40 - 100 - 50 - 30 - 10 - 100 - 60 - 50 - 40 - - false - true - true - true - - - diff --git a/tests/publishers/fixtures/warnings-complete.yaml b/tests/publishers/fixtures/warnings-complete.yaml deleted file mode 100644 index 17d005d6..00000000 --- a/tests/publishers/fixtures/warnings-complete.yaml +++ /dev/null @@ -1,44 +0,0 @@ -publishers: - - warnings: - console-log-parsers: - - FxCop - - CodeAnalysis - workspace-file-scanners: - - file-pattern: '**/*.out' - scanner: 'AcuCobol Compiler' - - file-pattern: '**/*.warnings' - scanner: FxCop - files-to-include: '[a-zA-Z]\.java,[a-zA-Z]\.cpp' - files-to-ignore: '[a-zA-Z]\.html,[a-zA-Z]\.js' - run-always: true - detect-modules: true - resolve-relative-paths: true - health-threshold-high: 50 - health-threshold-low: 25 - health-priorities: high-and-normal - total-thresholds: - unstable: - total-all: 90 - total-high: 90 - total-normal: 40 - total-low: 30 - failed: - total-all: 100 - total-high: 100 - total-normal: 50 - total-low: 40 - new-thresholds: - unstable: - new-all: 100 - new-high: 50 - new-normal: 30 - new-low: 10 - failed: - new-all: 100 - new-high: 60 - new-normal: 50 - new-low: 40 - use-delta-for-new-warnings: true - use-previous-build-as-reference: true - only-use-stable-builds-as-reference: true - default-encoding: ISO-8859-9 diff --git a/tests/publishers/fixtures/warnings-full.xml b/tests/publishers/fixtures/warnings-full.xml new file mode 100644 index 00000000..d3bfc473 --- /dev/null +++ b/tests/publishers/fixtures/warnings-full.xml @@ -0,0 +1,57 @@ + + + + + + + FxCop + + + CodeAnalysis + + + + + **/*.out + AcuCobol Compiler + + + **/*.warnings + FxCop + + + [a-zA-Z]\.java,[a-zA-Z]\.cpp + [a-zA-Z]\.html,[a-zA-Z]\.js + [WARNINGS] + true + true + 50 + 25 + normal + ISO-8859-9 + false + + 90 + 90 + 40 + 30 + 100 + 100 + 50 + 40 + 100 + 50 + 30 + 10 + 100 + 60 + 50 + 40 + + false + true + true + true + + + diff --git a/tests/publishers/fixtures/warnings-full.yaml b/tests/publishers/fixtures/warnings-full.yaml new file mode 100644 index 00000000..17d005d6 --- /dev/null +++ b/tests/publishers/fixtures/warnings-full.yaml @@ -0,0 +1,44 @@ +publishers: + - warnings: + console-log-parsers: + - FxCop + - CodeAnalysis + workspace-file-scanners: + - file-pattern: '**/*.out' + scanner: 'AcuCobol Compiler' + - file-pattern: '**/*.warnings' + scanner: FxCop + files-to-include: '[a-zA-Z]\.java,[a-zA-Z]\.cpp' + files-to-ignore: '[a-zA-Z]\.html,[a-zA-Z]\.js' + run-always: true + detect-modules: true + resolve-relative-paths: true + health-threshold-high: 50 + health-threshold-low: 25 + health-priorities: high-and-normal + total-thresholds: + unstable: + total-all: 90 + total-high: 90 + total-normal: 40 + total-low: 30 + failed: + total-all: 100 + total-high: 100 + total-normal: 50 + total-low: 40 + new-thresholds: + unstable: + new-all: 100 + new-high: 50 + new-normal: 30 + new-low: 10 + failed: + new-all: 100 + new-high: 60 + new-normal: 50 + new-low: 40 + use-delta-for-new-warnings: true + use-previous-build-as-reference: true + only-use-stable-builds-as-reference: true + default-encoding: ISO-8859-9 diff --git a/tests/publishers/fixtures/workspace-cleanup-complete.xml b/tests/publishers/fixtures/workspace-cleanup-complete.xml deleted file mode 100644 index d5563863..00000000 --- a/tests/publishers/fixtures/workspace-cleanup-complete.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - *.zip - INCLUDE - - - *.txt - EXCLUDE - - - true - true - command - false - false - false - false - false - true - - - diff --git a/tests/publishers/fixtures/workspace-cleanup-complete.yaml b/tests/publishers/fixtures/workspace-cleanup-complete.yaml deleted file mode 100644 index 1ea41495..00000000 --- a/tests/publishers/fixtures/workspace-cleanup-complete.yaml +++ /dev/null @@ -1,16 +0,0 @@ -publishers: - - workspace-cleanup: - include: - - "*.zip" - exclude: - - "*.txt" - clean-if: - - success: false - - unstable: false - - failure: false - - aborted: false - - not-built: false - dirmatch: true - fail-build: false - clean-parent: true - external-deletion-command: 'command' diff --git a/tests/publishers/fixtures/workspace-cleanup-full.xml b/tests/publishers/fixtures/workspace-cleanup-full.xml new file mode 100644 index 00000000..d5563863 --- /dev/null +++ b/tests/publishers/fixtures/workspace-cleanup-full.xml @@ -0,0 +1,26 @@ + + + + + + + *.zip + INCLUDE + + + *.txt + EXCLUDE + + + true + true + command + false + false + false + false + false + true + + + diff --git a/tests/publishers/fixtures/workspace-cleanup-full.yaml b/tests/publishers/fixtures/workspace-cleanup-full.yaml new file mode 100644 index 00000000..1ea41495 --- /dev/null +++ b/tests/publishers/fixtures/workspace-cleanup-full.yaml @@ -0,0 +1,16 @@ +publishers: + - workspace-cleanup: + include: + - "*.zip" + exclude: + - "*.txt" + clean-if: + - success: false + - unstable: false + - failure: false + - aborted: false + - not-built: false + dirmatch: true + fail-build: false + clean-parent: true + external-deletion-command: 'command' -- cgit