cigale 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.travis.yml +9 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +9 -0
- data/bin/cigale +5 -0
- data/cigale.gemspec +29 -0
- data/lib/.gitignore +1 -0
- data/lib/cigale/builder/ant.rb +26 -0
- data/lib/cigale/builder/artifact-resolver.rb +26 -0
- data/lib/cigale/builder/batch.rb +6 -0
- data/lib/cigale/builder/beaker.rb +17 -0
- data/lib/cigale/builder/build_status.rb +41 -0
- data/lib/cigale/builder/builders-from.rb +6 -0
- data/lib/cigale/builder/change-assembly-version.rb +7 -0
- data/lib/cigale/builder/cmake.rb +28 -0
- data/lib/cigale/builder/conditional.rb +193 -0
- data/lib/cigale/builder/config-file-provider.rb +18 -0
- data/lib/cigale/builder/copyartifact.rb +49 -0
- data/lib/cigale/builder/dsl.rb +19 -0
- data/lib/cigale/builder/exclusion.rb +10 -0
- data/lib/cigale/builder/github-notifier.rb +6 -0
- data/lib/cigale/builder/gradle.rb +14 -0
- data/lib/cigale/builder/grails.rb +19 -0
- data/lib/cigale/builder/groovy.rb +22 -0
- data/lib/cigale/builder/inject.rb +13 -0
- data/lib/cigale/builder/managed-script.rb +27 -0
- data/lib/cigale/builder/maven-builder.rb +9 -0
- data/lib/cigale/builder/maven-target.rb +50 -0
- data/lib/cigale/builder/msbuild.rb +10 -0
- data/lib/cigale/builder/multijob.rb +65 -0
- data/lib/cigale/builder/powershell.rb +6 -0
- data/lib/cigale/builder/python.rb +6 -0
- data/lib/cigale/builder/sbt.rb +12 -0
- data/lib/cigale/builder/shell.rb +6 -0
- data/lib/cigale/builder/shining-panda.rb +34 -0
- data/lib/cigale/builder/sonar.rb +10 -0
- data/lib/cigale/builder/sonatype-clm.rb +15 -0
- data/lib/cigale/builder/ssh.rb +8 -0
- data/lib/cigale/builder/system-groovy.rb +16 -0
- data/lib/cigale/builder/trigger-builds.rb +150 -0
- data/lib/cigale/builder/trigger-remote.rb +37 -0
- data/lib/cigale/builder.rb +95 -0
- data/lib/cigale/cli.rb +198 -0
- data/lib/cigale/exts.rb +86 -0
- data/lib/cigale/generator.rb +302 -0
- data/lib/cigale/macro_context.rb +103 -0
- data/lib/cigale/parameter/bool.rb +12 -0
- data/lib/cigale/parameter/dynamic-choice.rb +20 -0
- data/lib/cigale/parameter/extended-choice.rb +20 -0
- data/lib/cigale/parameter/matrix-combinations.rb +7 -0
- data/lib/cigale/parameter/node.rb +41 -0
- data/lib/cigale/parameter/run.rb +7 -0
- data/lib/cigale/parameter/string.rb +12 -0
- data/lib/cigale/parameter.rb +34 -0
- data/lib/cigale/property/authorization.rb +16 -0
- data/lib/cigale/property/batch-tasks.rb +13 -0
- data/lib/cigale/property/builds-chain-fingerprinter.rb +7 -0
- data/lib/cigale/property/copyartifact.rb +10 -0
- data/lib/cigale/property/delivery-pipeline.rb +7 -0
- data/lib/cigale/property/heavy-job.rb +6 -0
- data/lib/cigale/property/inject.rb +15 -0
- data/lib/cigale/property/least-load.rb +6 -0
- data/lib/cigale/property/ownership.rb +14 -0
- data/lib/cigale/property/sidebar.rb +16 -0
- data/lib/cigale/property/slave-utilization.rb +8 -0
- data/lib/cigale/property/throttle.rb +15 -0
- data/lib/cigale/property/zeromq-event.rb +6 -0
- data/lib/cigale/property.rb +75 -0
- data/lib/cigale/publisher/aggregate-flow-tests.rb +6 -0
- data/lib/cigale/publisher/aggregate-tests.rb +6 -0
- data/lib/cigale/publisher/archive.rb +9 -0
- data/lib/cigale/publisher/artifact-deployer.rb +21 -0
- data/lib/cigale/publisher/blame-upstream.rb +6 -0
- data/lib/cigale/publisher/build-publisher.rb +18 -0
- data/lib/cigale/publisher/campfire.rb +18 -0
- data/lib/cigale/publisher/checkstyle.rb +43 -0
- data/lib/cigale/publisher/cifs.rb +32 -0
- data/lib/cigale/publisher/cigame.rb +5 -0
- data/lib/cigale/publisher/claim-build.rb +5 -0
- data/lib/cigale/publisher/clone-workspace.rb +11 -0
- data/lib/cigale/publisher/cloverphp.rb +56 -0
- data/lib/cigale/publisher/cobertura.rb +41 -0
- data/lib/cigale/publisher/conditional-publisher.rb +28 -0
- data/lib/cigale/publisher/copy-to-master.rb +7 -0
- data/lib/cigale/publisher/coverage.rb +32 -0
- data/lib/cigale/publisher/cppcheck.rb +42 -0
- data/lib/cigale/publisher/description-setter.rb +9 -0
- data/lib/cigale/publisher/disable-failed-job.rb +9 -0
- data/lib/cigale/publisher/display-upstream-changes.rb +5 -0
- data/lib/cigale/publisher/downstream-ext.rb +13 -0
- data/lib/cigale/publisher/doxygen.rb +7 -0
- data/lib/cigale/publisher/dry.rb +43 -0
- data/lib/cigale/publisher/email-ext.rb +69 -0
- data/lib/cigale/publisher/email.rb +7 -0
- data/lib/cigale/publisher/emotional-jenkins.rb +5 -0
- data/lib/cigale/publisher/findbugs.rb +46 -0
- data/lib/cigale/publisher/fingerprint.rb +6 -0
- data/lib/cigale/publisher/fitnesse.rb +5 -0
- data/lib/cigale/publisher/flowdock.rb +42 -0
- data/lib/cigale/publisher/ftp.rb +33 -0
- data/lib/cigale/publisher/gatling.rb +5 -0
- data/lib/cigale/publisher/git.rb +45 -0
- data/lib/cigale/publisher/github-notifier.rb +5 -0
- data/lib/cigale/publisher/google-cloud-storage.rb +43 -0
- data/lib/cigale/publisher/groovy-postbuild.rb +12 -0
- data/lib/cigale/publisher/html-publisher.rb +14 -0
- data/lib/cigale/publisher/image-gallery.rb +36 -0
- data/lib/cigale/publisher/ircbot.rb +22 -0
- data/lib/cigale/publisher/jabber.rb +27 -0
- data/lib/cigale/publisher/jacoco.rb +18 -0
- data/lib/cigale/publisher/javadoc.rb +6 -0
- data/lib/cigale/publisher/jclouds.rb +13 -0
- data/lib/cigale/publisher/jira.rb +5 -0
- data/lib/cigale/publisher/join-trigger.rb +8 -0
- data/lib/cigale/publisher/junit.rb +20 -0
- data/lib/cigale/publisher/logparser.rb +7 -0
- data/lib/cigale/publisher/logstash.rb +6 -0
- data/lib/cigale/publisher/maven-deploy.rb +9 -0
- data/lib/cigale/publisher/naginator.rb +24 -0
- data/lib/cigale/publisher/performance.rb +31 -0
- data/lib/cigale/publisher/pipeline.rb +19 -0
- data/lib/cigale/publisher/plot.rb +70 -0
- data/lib/cigale/publisher/pmd.rb +35 -0
- data/lib/cigale/publisher/post-tasks.rb +29 -0
- data/lib/cigale/publisher/postbuildscript.rb +42 -0
- data/lib/cigale/publisher/rich-text-publisher.rb +10 -0
- data/lib/cigale/publisher/robot.rb +19 -0
- data/lib/cigale/publisher/ruby-metrics.rb +24 -0
- data/lib/cigale/publisher/s3.rb +29 -0
- data/lib/cigale/publisher/scan-build.rb +7 -0
- data/lib/cigale/publisher/scoverage.rb +6 -0
- data/lib/cigale/publisher/scp.rb +17 -0
- data/lib/cigale/publisher/shining-panda.rb +5 -0
- data/lib/cigale/publisher/sitemonitor.rb +11 -0
- data/lib/cigale/publisher/sloccount.rb +6 -0
- data/lib/cigale/publisher/sonar.rb +34 -0
- data/lib/cigale/publisher/ssh.rb +36 -0
- data/lib/cigale/publisher/stash.rb +10 -0
- data/lib/cigale/publisher/tap.rb +11 -0
- data/lib/cigale/publisher/testng.rb +7 -0
- data/lib/cigale/publisher/text-finder.rb +9 -0
- data/lib/cigale/publisher/trigger-parameterized-builds.rb +59 -0
- data/lib/cigale/publisher/trigger.rb +8 -0
- data/lib/cigale/publisher/valgrind.rb +34 -0
- data/lib/cigale/publisher/violations.rb +39 -0
- data/lib/cigale/publisher/warnings.rb +45 -0
- data/lib/cigale/publisher/workspace-cleanup.rb +34 -0
- data/lib/cigale/publisher/xml-summary.rb +6 -0
- data/lib/cigale/publisher/xunit.rb +60 -0
- data/lib/cigale/publisher.rb +210 -0
- data/lib/cigale/scm/git.rb +164 -0
- data/lib/cigale/scm/hg.rb +36 -0
- data/lib/cigale/scm/repo.rb +16 -0
- data/lib/cigale/scm/store.rb +22 -0
- data/lib/cigale/scm/svn.rb +71 -0
- data/lib/cigale/scm/tfs.rb +27 -0
- data/lib/cigale/scm/workspace.rb +7 -0
- data/lib/cigale/scm.rb +58 -0
- data/lib/cigale/trigger.rb +32 -0
- data/lib/cigale/version.rb +3 -0
- data/lib/cigale/wrapper/android-emulator.rb +38 -0
- data/lib/cigale/wrapper/ansi-color.rb +6 -0
- data/lib/cigale/wrapper/ci-skip.rb +20 -0
- data/lib/cigale/wrapper/config-file-provider.rb +16 -0
- data/lib/cigale/wrapper/credentials-binding.rb +30 -0
- data/lib/cigale/wrapper/custom-tools.rb +17 -0
- data/lib/cigale/wrapper/delivery-pipeline.rb +9 -0
- data/lib/cigale/wrapper/env-file.rb +6 -0
- data/lib/cigale/wrapper/env-script.rb +7 -0
- data/lib/cigale/wrapper/exclusion.rb +14 -0
- data/lib/cigale/wrapper/inject-ownership-variables.rb +7 -0
- data/lib/cigale/wrapper/inject-passwords.rb +15 -0
- data/lib/cigale/wrapper/inject.rb +13 -0
- data/lib/cigale/wrapper/job-log-logger.rb +6 -0
- data/lib/cigale/wrapper/live-screenshot.rb +9 -0
- data/lib/cigale/wrapper/locks.rb +17 -0
- data/lib/cigale/wrapper/logfilesize.rb +10 -0
- data/lib/cigale/wrapper/logstash.rb +20 -0
- data/lib/cigale/wrapper/m2-repository-cleanup.rb +21 -0
- data/lib/cigale/wrapper/matrix-tie-parent.rb +6 -0
- data/lib/cigale/wrapper/mongo-db.rb +12 -0
- data/lib/cigale/wrapper/port-allocator.rb +14 -0
- data/lib/cigale/wrapper/rbenv.rb +27 -0
- data/lib/cigale/wrapper/release.rb +16 -0
- data/lib/cigale/wrapper/ssh-agent-credentials.rb +17 -0
- data/lib/cigale/wrapper/timeout.rb +24 -0
- data/lib/cigale/wrapper/workspace-cleanup.rb +9 -0
- data/lib/cigale/wrapper/xvfb.rb +16 -0
- data/lib/cigale/wrapper/xvnc.rb +7 -0
- data/lib/cigale/wrapper.rb +96 -0
- data/lib/cigale.rb +3 -0
- data/spec/fixtures/macros/macro-builders001.expanded.yml +12 -0
- data/spec/fixtures/macros/macro-builders001.yml +21 -0
- data/spec/fixtures/macros/macro-builders002.expanded.yml +5 -0
- data/spec/fixtures/macros/macro-builders002.yml +10 -0
- data/spec/fixtures/macros/macro-builders003.expanded.yml +6 -0
- data/spec/fixtures/macros/macro-builders003.yml +10 -0
- data/spec/fixtures/macros/macro-scm001.expanded.yml +12 -0
- data/spec/fixtures/macros/macro-scm001.yml +14 -0
- data/spec/fixtures/macros/macro-scm002.expanded.yml +20 -0
- data/spec/fixtures/macros/macro-scm002.yml +26 -0
- data/spec/fixtures/parity/builders/__init__.py +0 -0
- data/spec/fixtures/parity/builders/fixtures/ant001.xml +9 -0
- data/spec/fixtures/parity/builders/fixtures/ant001.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/ant002.xml +14 -0
- data/spec/fixtures/parity/builders/fixtures/ant002.yaml +11 -0
- data/spec/fixtures/parity/builders/fixtures/artifact-resolver.xml +32 -0
- data/spec/fixtures/parity/builders/fixtures/artifact-resolver.yaml +15 -0
- data/spec/fixtures/parity/builders/fixtures/batch.xml +8 -0
- data/spec/fixtures/parity/builders/fixtures/batch.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/beaker-content.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/beaker-content.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/beaker-path.xml +11 -0
- data/spec/fixtures/parity/builders/fixtures/beaker-path.yaml +4 -0
- data/spec/fixtures/parity/builders/fixtures/builders-from.xml +8 -0
- data/spec/fixtures/parity/builders/fixtures/builders-from.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/changeassemblyversion001.xml +9 -0
- data/spec/fixtures/parity/builders/fixtures/changeassemblyversion001.yaml +4 -0
- data/spec/fixtures/parity/builders/fixtures/changeassemblyversion002.xml +9 -0
- data/spec/fixtures/parity/builders/fixtures/changeassemblyversion002.yaml +3 -0
- data/spec/fixtures/parity/builders/fixtures/cmake-common.xml +21 -0
- data/spec/fixtures/parity/builders/fixtures/cmake-common.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/cmake-complete.xml +21 -0
- data/spec/fixtures/parity/builders/fixtures/cmake-complete.yaml +14 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-and.xml +30 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-and.yaml +16 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-build-cause.xml +15 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-build-cause.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-day-of-week001.xml +15 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-day-of-week001.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-day-of-week002.xml +46 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-day-of-week002.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-day-of-week003.xml +46 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-day-of-week003.yaml +10 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-execution-node.xml +17 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-execution-node.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-files-match.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-files-match.yaml +12 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-not-file-exists.xml +17 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-not-file-exists.yaml +10 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-notbuild-aborted.xml +25 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-notbuild-aborted.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-num-comp.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-num-comp.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-or.xml +29 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-or.yaml +20 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-regex-match.xml +15 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-regex-match.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-strings-match.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-strings-match.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-success-failure.xml +25 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-success-failure.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-success-unstable.xml +25 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-success-unstable.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-time.xml +18 -0
- data/spec/fixtures/parity/builders/fixtures/conditional-step-time.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/config-file-provider01.xml +14 -0
- data/spec/fixtures/parity/builders/fixtures/config-file-provider01.yaml +6 -0
- data/spec/fixtures/parity/builders/fixtures/copy-artifact001.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/copy-artifact001.yaml +10 -0
- data/spec/fixtures/parity/builders/fixtures/copy-artifact002.xml +14 -0
- data/spec/fixtures/parity/builders/fixtures/copy-artifact002.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/critical-block-end.xml +6 -0
- data/spec/fixtures/parity/builders/fixtures/critical-block-end.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/critical-block-start.xml +6 -0
- data/spec/fixtures/parity/builders/fixtures/critical-block-start.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/critical-block.xml +7 -0
- data/spec/fixtures/parity/builders/fixtures/critical-block.yaml +3 -0
- data/spec/fixtures/parity/builders/fixtures/dsl001.xml +14 -0
- data/spec/fixtures/parity/builders/fixtures/dsl001.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/dsl002.xml +14 -0
- data/spec/fixtures/parity/builders/fixtures/dsl002.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/github-notifier.xml +6 -0
- data/spec/fixtures/parity/builders/fixtures/github-notifier.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/gradle.xml +20 -0
- data/spec/fixtures/parity/builders/fixtures/gradle.yaml +14 -0
- data/spec/fixtures/parity/builders/fixtures/grails.xml +21 -0
- data/spec/fixtures/parity/builders/fixtures/grails.yaml +16 -0
- data/spec/fixtures/parity/builders/fixtures/groovy001.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/groovy001.yaml +3 -0
- data/spec/fixtures/parity/builders/fixtures/groovy002.xml +16 -0
- data/spec/fixtures/parity/builders/fixtures/groovy002.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/inject.xml +13 -0
- data/spec/fixtures/parity/builders/fixtures/inject.yaml +6 -0
- data/spec/fixtures/parity/builders/fixtures/managed-script.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/managed-script.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/managed-winbatch.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/managed-winbatch.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/maven-builder001.xml +11 -0
- data/spec/fixtures/parity/builders/fixtures/maven-builder001.yaml +5 -0
- data/spec/fixtures/parity/builders/fixtures/maven-target-doc.xml +20 -0
- data/spec/fixtures/parity/builders/fixtures/maven-target-doc.yaml +14 -0
- data/spec/fixtures/parity/builders/fixtures/maven-target001.xml +13 -0
- data/spec/fixtures/parity/builders/fixtures/maven-target001.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/maven-target002.xml +18 -0
- data/spec/fixtures/parity/builders/fixtures/maven-target002.yaml +6 -0
- data/spec/fixtures/parity/builders/fixtures/msbuild.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/msbuild.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/multibuild.xml +57 -0
- data/spec/fixtures/parity/builders/fixtures/multibuild.yaml +24 -0
- data/spec/fixtures/parity/builders/fixtures/powershell.xml +8 -0
- data/spec/fixtures/parity/builders/fixtures/powershell.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/python.xml +8 -0
- data/spec/fixtures/parity/builders/fixtures/python.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/sbt.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/sbt.yaml +5 -0
- data/spec/fixtures/parity/builders/fixtures/shell.xml +8 -0
- data/spec/fixtures/parity/builders/fixtures/shell.yaml +2 -0
- data/spec/fixtures/parity/builders/fixtures/shining-panda-customenv.xml +13 -0
- data/spec/fixtures/parity/builders/fixtures/shining-panda-customenv.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/shining-panda-pythonenv.xml +11 -0
- data/spec/fixtures/parity/builders/fixtures/shining-panda-pythonenv.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/shining-panda-virtualenv.xml +15 -0
- data/spec/fixtures/parity/builders/fixtures/shining-panda-virtualenv.yaml +11 -0
- data/spec/fixtures/parity/builders/fixtures/sonar.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/sonar.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/sonatype-clm01.xml +15 -0
- data/spec/fixtures/parity/builders/fixtures/sonatype-clm01.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/ssh-builder.xml +9 -0
- data/spec/fixtures/parity/builders/fixtures/ssh-builder.yaml +4 -0
- data/spec/fixtures/parity/builders/fixtures/system-groovy001.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/system-groovy001.yaml +3 -0
- data/spec/fixtures/parity/builders/fixtures/system-groovy002.xml +12 -0
- data/spec/fixtures/parity/builders/fixtures/system-groovy002.yaml +5 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds/project-list.xml +18 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds/project-list.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-allnodesforlabel-optionals.xml +43 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-allnodesforlabel-optionals.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-allnodesforlabel.xml +43 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-allnodesforlabel.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-binaryfile-optionals.xml +43 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-binaryfile-optionals.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-binaryfile.xml +43 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-binaryfile.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-counterbuild-optionals.xml +47 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-counterbuild-optionals.yaml +13 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-counterbuild.xml +45 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-counterbuild.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-filebuild-optionals.xml +42 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-filebuild-optionals.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-filebuild.xml +42 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-filebuild.yaml +7 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-multi.xml +65 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds-configfactory-multi.yaml +22 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds001.xml +42 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds001.yaml +8 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds002.xml +41 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds002.yaml +5 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds003.xml +57 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds003.yaml +13 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds004.xml +41 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds004.yaml +6 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds005.xml +35 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds005.yaml +9 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds006.xml +48 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-builds006.yaml +10 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-remote/trigger-remote001.xml +25 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-remote/trigger-remote001.yaml +14 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-remote/trigger-remote002.xml +17 -0
- data/spec/fixtures/parity/builders/fixtures/trigger-remote/trigger-remote002.yaml +4 -0
- data/spec/fixtures/parity/builders/test_builders.py +28 -0
- data/spec/fixtures/parity/cmd/__init__.py +0 -0
- data/spec/fixtures/parity/cmd/fixtures/bogus-plugins-info.yaml +3 -0
- data/spec/fixtures/parity/cmd/fixtures/cmd-001.conf +2 -0
- data/spec/fixtures/parity/cmd/fixtures/cmd-001.xml +15 -0
- data/spec/fixtures/parity/cmd/fixtures/cmd-001.yaml +8 -0
- data/spec/fixtures/parity/cmd/fixtures/cmd-002.yaml +23 -0
- data/spec/fixtures/parity/cmd/fixtures/disable-query-plugins.conf +3 -0
- data/spec/fixtures/parity/cmd/fixtures/plugins-info.yaml +3 -0
- data/spec/fixtures/parity/cmd/subcommands/__init__.py +0 -0
- data/spec/fixtures/parity/cmd/subcommands/test_delete.py +46 -0
- data/spec/fixtures/parity/cmd/subcommands/test_test.py +292 -0
- data/spec/fixtures/parity/cmd/subcommands/test_update.py +101 -0
- data/spec/fixtures/parity/cmd/test_cmd.py +37 -0
- data/spec/fixtures/parity/cmd/test_recurse_path.py +136 -0
- data/spec/fixtures/parity/duplicates/__init__.py +0 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_duplicates001.conf +2 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_duplicates001.xml +51 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_duplicates001.yaml +18 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_job_group001.conf +2 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_job_group001.xml +19 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_job_group001.yaml +24 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_macros001.conf +2 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_macros001.xml +51 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_macros001.yaml +21 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_projects001.conf +2 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_projects001.xml +51 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_projects001.yaml +15 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_templates001.conf +2 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_templates001.xml +51 -0
- data/spec/fixtures/parity/duplicates/fixtures/allow_templates001.yaml +20 -0
- data/spec/fixtures/parity/duplicates/fixtures/duplicates001.xml +103 -0
- data/spec/fixtures/parity/duplicates/fixtures/duplicates001.yaml +16 -0
- data/spec/fixtures/parity/duplicates/fixtures/duplicates002.xml +103 -0
- data/spec/fixtures/parity/duplicates/fixtures/duplicates002.yaml +21 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_duplicates001.yaml +11 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_duplicates002.yaml +18 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_job_group001.yaml +20 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_macros001.yaml +21 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_projects001.yaml +13 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_projects002.yaml +13 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_projects003.yaml +11 -0
- data/spec/fixtures/parity/duplicates/fixtures/exception_templates001.yaml +16 -0
- data/spec/fixtures/parity/duplicates/test_duplicates.py +39 -0
- data/spec/fixtures/parity/general/__init__.py +0 -0
- data/spec/fixtures/parity/general/fixtures/assigned-node001.xml +10 -0
- data/spec/fixtures/parity/general/fixtures/assigned-node001.yaml +3 -0
- data/spec/fixtures/parity/general/fixtures/assigned-node002.xml +9 -0
- data/spec/fixtures/parity/general/fixtures/assigned-node002.yaml +2 -0
- data/spec/fixtures/parity/general/fixtures/custom-workspace001.xml +10 -0
- data/spec/fixtures/parity/general/fixtures/custom-workspace001.yaml +3 -0
- data/spec/fixtures/parity/general/fixtures/custom-workspace002.xml +16 -0
- data/spec/fixtures/parity/general/fixtures/custom-workspace002.yaml +3 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis001.xml +25 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis001.yaml +8 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis002.xml +32 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis002.yaml +14 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis003.xml +31 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis003.yaml +15 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis004.xml +22 -0
- data/spec/fixtures/parity/general/fixtures/matrix-axis004.yaml +8 -0
- data/spec/fixtures/parity/general/fixtures/project-maven001.xml +38 -0
- data/spec/fixtures/parity/general/fixtures/project-maven001.yaml +17 -0
- data/spec/fixtures/parity/general/fixtures/project-maven002.xml +30 -0
- data/spec/fixtures/parity/general/fixtures/project-maven002.yaml +5 -0
- data/spec/fixtures/parity/general/fixtures/project-maven003.xml +33 -0
- data/spec/fixtures/parity/general/fixtures/project-maven003.yaml +7 -0
- data/spec/fixtures/parity/general/fixtures/project-type001.xml +9 -0
- data/spec/fixtures/parity/general/fixtures/project-type001.yaml +2 -0
- data/spec/fixtures/parity/general/fixtures/project-type002.xml +14 -0
- data/spec/fixtures/parity/general/fixtures/project-type002.yaml +2 -0
- data/spec/fixtures/parity/general/fixtures/project-type003.xml +11 -0
- data/spec/fixtures/parity/general/fixtures/project-type003.yaml +2 -0
- data/spec/fixtures/parity/general/fixtures/project-type004.xml +9 -0
- data/spec/fixtures/parity/general/fixtures/project-type004.yaml +2 -0
- data/spec/fixtures/parity/general/fixtures/project-type005.xml +9 -0
- data/spec/fixtures/parity/general/fixtures/project-type005.yaml +2 -0
- data/spec/fixtures/parity/general/fixtures/set-retry-count001.xml +10 -0
- data/spec/fixtures/parity/general/fixtures/set-retry-count001.yaml +3 -0
- data/spec/fixtures/parity/general/test_general.py +28 -0
- data/spec/fixtures/parity/hipchat/__init__.py +0 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat001.conf +5 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat001.plugins_info.yaml +6 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat001.xml +22 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat001.yaml +10 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat002.conf +5 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat002.xml +16 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat002.yaml +3 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat003.conf +5 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat003.plugins_info.yaml +6 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat003.xml +23 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat003.yaml +10 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat004.plugins_info.yaml +6 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat004.xml +23 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat004.yaml +3 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat_rooms-list001.plugins_info.yaml +6 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat_rooms-list001.xml +23 -0
- data/spec/fixtures/parity/hipchat/fixtures/hipchat_rooms-list001.yaml +12 -0
- data/spec/fixtures/parity/hipchat/test_hipchat.py +25 -0
- data/spec/fixtures/parity/jsonparser/__init__.py +0 -0
- data/spec/fixtures/parity/jsonparser/fixtures/complete001.json +168 -0
- data/spec/fixtures/parity/jsonparser/fixtures/complete001.xml +157 -0
- data/spec/fixtures/parity/jsonparser/fixtures/simple.json +13 -0
- data/spec/fixtures/parity/jsonparser/fixtures/simple.xml +20 -0
- data/spec/fixtures/parity/jsonparser/test_jsonparser.py +27 -0
- data/spec/fixtures/parity/localyaml/__init__.py +0 -0
- data/spec/fixtures/parity/localyaml/fixtures/anchors_aliases.iyaml +15 -0
- data/spec/fixtures/parity/localyaml/fixtures/anchors_aliases.oyaml +21 -0
- data/spec/fixtures/parity/localyaml/fixtures/custom_same_anchor-001-part1.yaml +11 -0
- data/spec/fixtures/parity/localyaml/fixtures/custom_same_anchor-001-part2.yaml +11 -0
- data/spec/fixtures/parity/localyaml/fixtures/exception_include001.yaml +15 -0
- data/spec/fixtures/parity/localyaml/fixtures/exception_include001.yaml.inc +13 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw-escaped-multi001.json +21 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw-escaped-multi001.yaml +13 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw-escaped001.json +24 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw-escaped001.yaml +13 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw-multi001.json +12 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw-multi001.yaml +7 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw001-hello-world.sh +9 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw001-vars.sh +15 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw001.json +15 -0
- data/spec/fixtures/parity/localyaml/fixtures/include-raw001.yaml +7 -0
- data/spec/fixtures/parity/localyaml/fixtures/include001.json +43 -0
- data/spec/fixtures/parity/localyaml/fixtures/include001.yaml +4 -0
- data/spec/fixtures/parity/localyaml/fixtures/include001.yaml.inc +17 -0
- data/spec/fixtures/parity/localyaml/test_localyaml.py +77 -0
- data/spec/fixtures/parity/macros/__init__.py +0 -0
- data/spec/fixtures/parity/macros/fixtures/scm/multi-scms001.xml +92 -0
- data/spec/fixtures/parity/macros/fixtures/scm/multi-scms001.yaml +26 -0
- data/spec/fixtures/parity/macros/fixtures/scm/multi-scms002.xml +67 -0
- data/spec/fixtures/parity/macros/fixtures/scm/multi-scms002.yaml +33 -0
- data/spec/fixtures/parity/macros/fixtures/scm/scm001.xml +15 -0
- data/spec/fixtures/parity/macros/fixtures/scm/scm001.yaml +3 -0
- data/spec/fixtures/parity/macros/fixtures/scm/scm002.xml +51 -0
- data/spec/fixtures/parity/macros/fixtures/scm/scm002.yaml +12 -0
- data/spec/fixtures/parity/macros/test_macros.py +26 -0
- data/spec/fixtures/parity/notifications/__init__.py +0 -0
- data/spec/fixtures/parity/notifications/fixtures/http-endpoint001.xml +17 -0
- data/spec/fixtures/parity/notifications/fixtures/http-endpoint001.yaml +3 -0
- data/spec/fixtures/parity/notifications/fixtures/http-endpoint002.xml +17 -0
- data/spec/fixtures/parity/notifications/fixtures/http-endpoint002.yaml +7 -0
- data/spec/fixtures/parity/notifications/test_notifications.py +28 -0
- data/spec/fixtures/parity/parameters/__init__.py +0 -0
- data/spec/fixtures/parity/parameters/fixtures/dynamic-choice-param001.xml +26 -0
- data/spec/fixtures/parity/parameters/fixtures/dynamic-choice-param001.yaml +7 -0
- data/spec/fixtures/parity/parameters/fixtures/extended-choice-param001.xml +23 -0
- data/spec/fixtures/parity/parameters/fixtures/extended-choice-param001.yaml +8 -0
- data/spec/fixtures/parity/parameters/fixtures/extended-choice-param002.xml +23 -0
- data/spec/fixtures/parity/parameters/fixtures/extended-choice-param002.yaml +14 -0
- data/spec/fixtures/parity/parameters/fixtures/matrix-combinations-param001.xml +14 -0
- data/spec/fixtures/parity/parameters/fixtures/matrix-combinations-param001.yaml +5 -0
- data/spec/fixtures/parity/parameters/fixtures/node-param001.xml +23 -0
- data/spec/fixtures/parity/parameters/fixtures/node-param001.yaml +11 -0
- data/spec/fixtures/parity/parameters/fixtures/node-param002.xml +23 -0
- data/spec/fixtures/parity/parameters/fixtures/node-param002.yaml +11 -0
- data/spec/fixtures/parity/parameters/fixtures/run-param001.xml +14 -0
- data/spec/fixtures/parity/parameters/fixtures/run-param001.yaml +5 -0
- data/spec/fixtures/parity/parameters/test_parameters.py +28 -0
- data/spec/fixtures/parity/properties/__init__.py +0 -0
- data/spec/fixtures/parity/properties/fixtures/authorization.xml +9 -0
- data/spec/fixtures/parity/properties/fixtures/authorization.yaml +5 -0
- data/spec/fixtures/parity/properties/fixtures/batch-task.xml +17 -0
- data/spec/fixtures/parity/properties/fixtures/batch-task.yaml +6 -0
- data/spec/fixtures/parity/properties/fixtures/copyartifact.xml +10 -0
- data/spec/fixtures/parity/properties/fixtures/copyartifact.yaml +3 -0
- data/spec/fixtures/parity/properties/fixtures/delivery-pipeline1.xml +9 -0
- data/spec/fixtures/parity/properties/fixtures/delivery-pipeline1.yaml +4 -0
- data/spec/fixtures/parity/properties/fixtures/delivery-pipeline2.xml +9 -0
- data/spec/fixtures/parity/properties/fixtures/delivery-pipeline2.yaml +2 -0
- data/spec/fixtures/parity/properties/fixtures/fingerprinter.xml +9 -0
- data/spec/fixtures/parity/properties/fixtures/fingerprinter.yaml +4 -0
- data/spec/fixtures/parity/properties/fixtures/heavy-job.xml +8 -0
- data/spec/fixtures/parity/properties/fixtures/heavy-job.yaml +3 -0
- data/spec/fixtures/parity/properties/fixtures/inject001.xml +17 -0
- data/spec/fixtures/parity/properties/fixtures/inject001.yaml +5 -0
- data/spec/fixtures/parity/properties/fixtures/inject002.xml +14 -0
- data/spec/fixtures/parity/properties/fixtures/inject002.yaml +3 -0
- data/spec/fixtures/parity/properties/fixtures/inject003.xml +14 -0
- data/spec/fixtures/parity/properties/fixtures/inject003.yaml +5 -0
- data/spec/fixtures/parity/properties/fixtures/least-load001.xml +8 -0
- data/spec/fixtures/parity/properties/fixtures/least-load001.yaml +3 -0
- data/spec/fixtures/parity/properties/fixtures/least-load002.xml +8 -0
- data/spec/fixtures/parity/properties/fixtures/least-load002.yaml +3 -0
- data/spec/fixtures/parity/properties/fixtures/ownership.xml +15 -0
- data/spec/fixtures/parity/properties/fixtures/ownership.yaml +6 -0
- data/spec/fixtures/parity/properties/fixtures/sidebar01.xml +14 -0
- data/spec/fixtures/parity/properties/fixtures/sidebar01.yaml +5 -0
- data/spec/fixtures/parity/properties/fixtures/sidebar02.xml +19 -0
- data/spec/fixtures/parity/properties/fixtures/sidebar02.yaml +9 -0
- data/spec/fixtures/parity/properties/fixtures/slave-utilization1.xml +10 -0
- data/spec/fixtures/parity/properties/fixtures/slave-utilization1.yaml +4 -0
- data/spec/fixtures/parity/properties/fixtures/slave-utilization2.xml +10 -0
- data/spec/fixtures/parity/properties/fixtures/slave-utilization2.yaml +3 -0
- data/spec/fixtures/parity/properties/fixtures/throttle001.xml +16 -0
- data/spec/fixtures/parity/properties/fixtures/throttle001.yaml +6 -0
- data/spec/fixtures/parity/properties/fixtures/zeromq-event.xml +8 -0
- data/spec/fixtures/parity/properties/fixtures/zeromq-event.yaml +2 -0
- data/spec/fixtures/parity/properties/test_properties.py +28 -0
- data/spec/fixtures/parity/publishers/__init__.py +0 -0
- data/spec/fixtures/parity/publishers/fixtures/README +14 -0
- data/spec/fixtures/parity/publishers/fixtures/aggregate-flow-tests.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/aggregate-flow-tests.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/aggregate-tests001.xml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/aggregate-tests001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/archive001.xml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/archive001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/archive002.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/archive002.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/archive003.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/archive003.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/artifact-dep.xml +21 -0
- data/spec/fixtures/parity/publishers/fixtures/artifact-dep.yaml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/blame001.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/blame001.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/build-publisher001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/build-publisher001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/build-publisher002.xml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/build-publisher002.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/campfire001.xml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/campfire001.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/campfire002.xml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/campfire002.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/campfire003.xml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/campfire003.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle001.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle001.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle002.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle002.yaml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle003.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle003.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle004.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle004.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle005.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle005.yaml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle006.xml +37 -0
- data/spec/fixtures/parity/publishers/fixtures/checkstyle006.yaml +32 -0
- data/spec/fixtures/parity/publishers/fixtures/cifs001.xml +33 -0
- data/spec/fixtures/parity/publishers/fixtures/cifs001.yaml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/cigame.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/cigame.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/claim-build001.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/claim-build001.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/clone-workspace001.xml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/clone-workspace001.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/clone-workspace002.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/clone-workspace002.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/cloverphp001.xml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/cloverphp001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/cloverphp002.xml +23 -0
- data/spec/fixtures/parity/publishers/fixtures/cloverphp002.yaml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/cloverphp003.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/cloverphp003.yaml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/cobertura001.xml +52 -0
- data/spec/fixtures/parity/publishers/fixtures/cobertura001.yaml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher001.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher001.yaml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher002.xml +27 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher002.yaml +18 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher003.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher003.xml +23 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher003.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher004.xml +25 -0
- data/spec/fixtures/parity/publishers/fixtures/conditional-publisher004.yaml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/copy-to-master001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/copy-to-master001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/coverage001.xml +58 -0
- data/spec/fixtures/parity/publishers/fixtures/coverage001.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/cppcheck001.xml +34 -0
- data/spec/fixtures/parity/publishers/fixtures/cppcheck001.yaml +21 -0
- data/spec/fixtures/parity/publishers/fixtures/description-setter001.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/description-setter001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/description-setter002.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/description-setter002.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/disable-failed-job001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/disable-failed-job001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/disable-failed-job002.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/disable-failed-job002.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/display-upstream-changes.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/display-upstream-changes.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/downstream-ext001.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/downstream-ext001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/downstream-ext002.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/downstream-ext002.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/doxygen001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/doxygen001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/dry001.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/dry001.yaml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/dry002.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/dry002.yaml +22 -0
- data/spec/fixtures/parity/publishers/fixtures/dry003.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/dry003.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/dry004.xml +39 -0
- data/spec/fixtures/parity/publishers/fixtures/dry004.yaml +34 -0
- data/spec/fixtures/parity/publishers/fixtures/email-ext001.xml +174 -0
- data/spec/fixtures/parity/publishers/fixtures/email-ext001.yaml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/email-ext002.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/email-ext002.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/email001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/email001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/email002.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/email002.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/emotional-jenkins.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/emotional-jenkins.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/findbugs01.xml +41 -0
- data/spec/fixtures/parity/publishers/fixtures/findbugs01.yaml +35 -0
- data/spec/fixtures/parity/publishers/fixtures/fingerprint001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/fingerprint001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/fitnesse001.xml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/fitnesse001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/flowdock001.xml +42 -0
- data/spec/fixtures/parity/publishers/fixtures/flowdock001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/flowdock002.xml +42 -0
- data/spec/fixtures/parity/publishers/fixtures/flowdock002.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/flowdock003.xml +42 -0
- data/spec/fixtures/parity/publishers/fixtures/flowdock003.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/ftp001.xml +34 -0
- data/spec/fixtures/parity/publishers/fixtures/ftp001.yaml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/gatling001.xml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/gatling001.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/git001.xml +34 -0
- data/spec/fixtures/parity/publishers/fixtures/git001.yaml +21 -0
- data/spec/fixtures/parity/publishers/fixtures/github-notifier.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/github-notifier.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/google_cloud_storage001.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/google_cloud_storage001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/google_cloud_storage002.xml +38 -0
- data/spec/fixtures/parity/publishers/fixtures/google_cloud_storage002.yaml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/google_cloud_storage003.xml +52 -0
- data/spec/fixtures/parity/publishers/fixtures/google_cloud_storage003.yaml +26 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild000.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild000.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild001.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild001.xml +21 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild001.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild002.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild002.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild002.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild003.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild003.xml +18 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild003.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild004.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/groovy-postbuild004.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/html-publisher001.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/html-publisher001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/image-gallery001.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/image-gallery001.yaml +18 -0
- data/spec/fixtures/parity/publishers/fixtures/image-gallery002.xml +44 -0
- data/spec/fixtures/parity/publishers/fixtures/image-gallery002.yaml +22 -0
- data/spec/fixtures/parity/publishers/fixtures/image-gallery003.xml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/image-gallery003.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/ircbot001.xml +27 -0
- data/spec/fixtures/parity/publishers/fixtures/ircbot001.yaml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/ircbot002.xml +22 -0
- data/spec/fixtures/parity/publishers/fixtures/ircbot002.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/jabber001.xml +24 -0
- data/spec/fixtures/parity/publishers/fixtures/jabber001.yaml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/jacoco001.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/jacoco001.yaml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/javadoc001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/javadoc001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/jclouds001.xml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/jclouds001.yaml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/jira001.xml +6 -0
- data/spec/fixtures/parity/publishers/fixtures/jira001.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/join-trigger001.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/join-trigger001.yaml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/junit001.xml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/junit001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/junit002.xml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/junit002.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/logparser001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/logparser001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/logstash-full.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/logstash-full.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/logstash-min.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/logstash-min.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/maven-deploy001.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/maven-deploy001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/naginator001.xml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/naginator001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/naginator002.xml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/naginator002.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/naginator003.xml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/naginator003.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/performance001.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/performance001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/performance002.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/performance002.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/performance003.xml +23 -0
- data/spec/fixtures/parity/publishers/fixtures/performance003.yaml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/pipeline001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/pipeline001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/pipeline002.xml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/pipeline002.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/plot001.xml +31 -0
- data/spec/fixtures/parity/publishers/fixtures/plot001.yaml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/plot002.xml +28 -0
- data/spec/fixtures/parity/publishers/fixtures/plot002.yaml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/plot003.xml +30 -0
- data/spec/fixtures/parity/publishers/fixtures/plot003.yaml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/plot004.xml +57 -0
- data/spec/fixtures/parity/publishers/fixtures/plot004.yaml +32 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd001.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd001.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd002.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd002.yaml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd003.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd003.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd004.xml +37 -0
- data/spec/fixtures/parity/publishers/fixtures/pmd004.yml +32 -0
- data/spec/fixtures/parity/publishers/fixtures/post-tasks001.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/post-tasks001.yaml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript000.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript000.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript001.xml +33 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript001.yaml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript002.xml +18 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript002.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript003.xml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript003.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript004.xml +42 -0
- data/spec/fixtures/parity/publishers/fixtures/postbuildscript004.yaml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/raw001.xml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/raw001.yaml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/raw002.xml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/raw002.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/richtext001.xml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/richtext001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/richtext002.xml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/richtext002.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/robot001.xml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/robot001.yaml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/ruby-metrics.xml +22 -0
- data/spec/fixtures/parity/publishers/fixtures/ruby-metrics.yaml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/s3001.xml +29 -0
- data/spec/fixtures/parity/publishers/fixtures/s3001.yaml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/scan-build001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/scan-build001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/scan-build002.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/scan-build002.yaml +2 -0
- data/spec/fixtures/parity/publishers/fixtures/scoverage001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/scoverage001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/scp001.xml +17 -0
- data/spec/fixtures/parity/publishers/fixtures/scp001.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/shiningpanda001.xml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/shiningpanda001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/sitemonitor001.xml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/sitemonitor001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/sloccount001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/sloccount001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/sonar001.xml +21 -0
- data/spec/fixtures/parity/publishers/fixtures/sonar001.yaml +11 -0
- data/spec/fixtures/parity/publishers/fixtures/sonar002.xml +25 -0
- data/spec/fixtures/parity/publishers/fixtures/sonar002.yaml +15 -0
- data/spec/fixtures/parity/publishers/fixtures/ssh001.xml +36 -0
- data/spec/fixtures/parity/publishers/fixtures/ssh001.yaml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/stash001.xml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/stash001.yaml +8 -0
- data/spec/fixtures/parity/publishers/fixtures/tap001.xml +14 -0
- data/spec/fixtures/parity/publishers/fixtures/tap001.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/testng001.xml +10 -0
- data/spec/fixtures/parity/publishers/fixtures/testng001.yaml +5 -0
- data/spec/fixtures/parity/publishers/fixtures/text-finder001.xml +12 -0
- data/spec/fixtures/parity/publishers/fixtures/text-finder001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/trigger_parameterized_builds001.xml +82 -0
- data/spec/fixtures/parity/publishers/fixtures/trigger_parameterized_builds001.yaml +24 -0
- data/spec/fixtures/parity/publishers/fixtures/trigger_parameterized_builds002.xml +42 -0
- data/spec/fixtures/parity/publishers/fixtures/trigger_parameterized_builds002.yaml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/trigger_success.xml +13 -0
- data/spec/fixtures/parity/publishers/fixtures/trigger_success.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/valgrind001.xml +20 -0
- data/spec/fixtures/parity/publishers/fixtures/valgrind001.yaml +16 -0
- data/spec/fixtures/parity/publishers/fixtures/violations001.xml +195 -0
- data/spec/fixtures/parity/publishers/fixtures/violations001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/warnings001.xml +55 -0
- data/spec/fixtures/parity/publishers/fixtures/warnings001.yaml +43 -0
- data/spec/fixtures/parity/publishers/fixtures/workspace-cleanup001.xml +21 -0
- data/spec/fixtures/parity/publishers/fixtures/workspace-cleanup001.yaml +7 -0
- data/spec/fixtures/parity/publishers/fixtures/xml-summary001.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/xml-summary001.yaml +3 -0
- data/spec/fixtures/parity/publishers/fixtures/xml-summary002.xml +9 -0
- data/spec/fixtures/parity/publishers/fixtures/xml-summary002.yaml +4 -0
- data/spec/fixtures/parity/publishers/fixtures/xunit001.xml +48 -0
- data/spec/fixtures/parity/publishers/fixtures/xunit001.yaml +22 -0
- data/spec/fixtures/parity/publishers/fixtures/xunit002.xml +34 -0
- data/spec/fixtures/parity/publishers/fixtures/xunit002.yaml +19 -0
- data/spec/fixtures/parity/publishers/test_publishers.py +28 -0
- data/spec/fixtures/parity/reporters/__init__.py +0 -0
- data/spec/fixtures/parity/reporters/fixtures/findbugs-minimal.xml +33 -0
- data/spec/fixtures/parity/reporters/fixtures/findbugs-minimal.yaml +3 -0
- data/spec/fixtures/parity/reporters/fixtures/findbugs01.xml +41 -0
- data/spec/fixtures/parity/reporters/fixtures/findbugs01.yaml +34 -0
- data/spec/fixtures/parity/reporters/test_reporters.py +27 -0
- data/spec/fixtures/parity/scm/__init__.py +0 -0
- data/spec/fixtures/parity/scm/fixtures/empty.xml +4 -0
- data/spec/fixtures/parity/scm/fixtures/empty.yaml +1 -0
- data/spec/fixtures/parity/scm/fixtures/git-clean01.xml +42 -0
- data/spec/fixtures/parity/scm/fixtures/git-clean01.yaml +6 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-commits-with-messages01.xml +46 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-commits-with-messages01.yaml +6 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-notify01.xml +41 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-notify01.yaml +7 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-notify02.xml +41 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-notify02.yaml +7 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-notify03.xml +41 -0
- data/spec/fixtures/parity/scm/fixtures/git-ignore-notify03.yaml +6 -0
- data/spec/fixtures/parity/scm/fixtures/git-multiple-remotes.xml +46 -0
- data/spec/fixtures/parity/scm/fixtures/git-multiple-remotes.yaml +10 -0
- data/spec/fixtures/parity/scm/fixtures/git-polling-path-restriction01.xml +44 -0
- data/spec/fixtures/parity/scm/fixtures/git-polling-path-restriction01.yaml +6 -0
- data/spec/fixtures/parity/scm/fixtures/git-polling-path-restriction02.xml +43 -0
- data/spec/fixtures/parity/scm/fixtures/git-polling-path-restriction02.yaml +5 -0
- data/spec/fixtures/parity/scm/fixtures/git-shallow-clone01.xml +42 -0
- data/spec/fixtures/parity/scm/fixtures/git-shallow-clone01.yaml +8 -0
- data/spec/fixtures/parity/scm/fixtures/git-shallow-clone02.xml +41 -0
- data/spec/fixtures/parity/scm/fixtures/git-shallow-clone02.yaml +7 -0
- data/spec/fixtures/parity/scm/fixtures/git-shallow-clone03.xml +41 -0
- data/spec/fixtures/parity/scm/fixtures/git-shallow-clone03.yaml +6 -0
- data/spec/fixtures/parity/scm/fixtures/git-sparse-checkout01.xml +53 -0
- data/spec/fixtures/parity/scm/fixtures/git-sparse-checkout01.yaml +8 -0
- data/spec/fixtures/parity/scm/fixtures/git-submodule01.xml +44 -0
- data/spec/fixtures/parity/scm/fixtures/git-submodule01.yaml +8 -0
- data/spec/fixtures/parity/scm/fixtures/git001.xml +49 -0
- data/spec/fixtures/parity/scm/fixtures/git001.yaml +9 -0
- data/spec/fixtures/parity/scm/fixtures/git002.xml +55 -0
- data/spec/fixtures/parity/scm/fixtures/git002.yaml +12 -0
- data/spec/fixtures/parity/scm/fixtures/git003.xml +50 -0
- data/spec/fixtures/parity/scm/fixtures/git003.yaml +11 -0
- data/spec/fixtures/parity/scm/fixtures/gitlab.xml +44 -0
- data/spec/fixtures/parity/scm/fixtures/gitlab.yaml +8 -0
- data/spec/fixtures/parity/scm/fixtures/hg01.xml +11 -0
- data/spec/fixtures/parity/scm/fixtures/hg01.yaml +3 -0
- data/spec/fixtures/parity/scm/fixtures/hg02.xml +16 -0
- data/spec/fixtures/parity/scm/fixtures/hg02.yaml +13 -0
- data/spec/fixtures/parity/scm/fixtures/hg03.xml +16 -0
- data/spec/fixtures/parity/scm/fixtures/hg03.yaml +12 -0
- data/spec/fixtures/parity/scm/fixtures/local-branch001.xml +41 -0
- data/spec/fixtures/parity/scm/fixtures/local-branch001.yaml +6 -0
- data/spec/fixtures/parity/scm/fixtures/raw001.xml +47 -0
- data/spec/fixtures/parity/scm/fixtures/raw001.yaml +8 -0
- data/spec/fixtures/parity/scm/fixtures/repo001.xml +21 -0
- data/spec/fixtures/parity/scm/fixtures/repo001.yaml +18 -0
- data/spec/fixtures/parity/scm/fixtures/stash.xml +43 -0
- data/spec/fixtures/parity/scm/fixtures/stash.yaml +7 -0
- data/spec/fixtures/parity/scm/fixtures/store001.xml +25 -0
- data/spec/fixtures/parity/scm/fixtures/store001.yaml +11 -0
- data/spec/fixtures/parity/scm/fixtures/svn-multiple-repos-001.xml +23 -0
- data/spec/fixtures/parity/scm/fixtures/svn-multiple-repos-001.yaml +11 -0
- data/spec/fixtures/parity/scm/fixtures/svn-regions-001.xml +29 -0
- data/spec/fixtures/parity/scm/fixtures/svn-regions-001.yaml +23 -0
- data/spec/fixtures/parity/scm/fixtures/tfs-001.xml +15 -0
- data/spec/fixtures/parity/scm/fixtures/tfs-001.yaml +10 -0
- data/spec/fixtures/parity/scm/fixtures/tfs-002.xml +13 -0
- data/spec/fixtures/parity/scm/fixtures/tfs-002.yaml +9 -0
- data/spec/fixtures/parity/scm/fixtures/tfs-003.xml +12 -0
- data/spec/fixtures/parity/scm/fixtures/tfs-003.yaml +8 -0
- data/spec/fixtures/parity/scm/fixtures/workspace001.xml +7 -0
- data/spec/fixtures/parity/scm/fixtures/workspace001.yaml +4 -0
- data/spec/fixtures/parity/scm/test_scm.py +28 -0
- data/spec/fixtures/parity/triggers/__init__.py +0 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit001.xml +56 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit001.yaml +23 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit002.xml +60 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit002.yaml +26 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit003.xml +76 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit003.yaml +33 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit004.xml +71 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit004.yaml +40 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit005.xml +57 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit005.yaml +14 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit006.xml +55 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit006.yaml +24 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit007.xml +67 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit007.yaml +33 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit008.xml +77 -0
- data/spec/fixtures/parity/triggers/fixtures/gerrit008.yaml +42 -0
- data/spec/fixtures/parity/triggers/fixtures/github-pull-request.xml +29 -0
- data/spec/fixtures/parity/triggers/fixtures/github-pull-request.yaml +21 -0
- data/spec/fixtures/parity/triggers/fixtures/gitlab-merge-request.xml +10 -0
- data/spec/fixtures/parity/triggers/fixtures/gitlab-merge-request.yaml +4 -0
- data/spec/fixtures/parity/triggers/fixtures/groovy-script.xml +14 -0
- data/spec/fixtures/parity/triggers/fixtures/groovy-script.yaml +8 -0
- data/spec/fixtures/parity/triggers/fixtures/ivy.xml +16 -0
- data/spec/fixtures/parity/triggers/fixtures/ivy.yaml +11 -0
- data/spec/fixtures/parity/triggers/fixtures/pollscm001.xml +8 -0
- data/spec/fixtures/parity/triggers/fixtures/pollscm001.yaml +2 -0
- data/spec/fixtures/parity/triggers/fixtures/pollurl001.xml +66 -0
- data/spec/fixtures/parity/triggers/fixtures/pollurl001.yaml +28 -0
- data/spec/fixtures/parity/triggers/fixtures/reverse-list.xml +15 -0
- data/spec/fixtures/parity/triggers/fixtures/reverse-list.yaml +7 -0
- data/spec/fixtures/parity/triggers/fixtures/reverse.xml +15 -0
- data/spec/fixtures/parity/triggers/fixtures/reverse.yaml +4 -0
- data/spec/fixtures/parity/triggers/fixtures/script.xml +14 -0
- data/spec/fixtures/parity/triggers/fixtures/script.yaml +8 -0
- data/spec/fixtures/parity/triggers/test_triggers.py +28 -0
- data/spec/fixtures/parity/wrappers/__init__.py +0 -0
- data/spec/fixtures/parity/wrappers/fixtures/android001.xml +21 -0
- data/spec/fixtures/parity/wrappers/fixtures/android001.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/android002.xml +16 -0
- data/spec/fixtures/parity/wrappers/fixtures/android002.yaml +10 -0
- data/spec/fixtures/parity/wrappers/fixtures/android003.xml +26 -0
- data/spec/fixtures/parity/wrappers/fixtures/android003.yaml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/ci-skip001.xml +13 -0
- data/spec/fixtures/parity/wrappers/fixtures/ci-skip001.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/config-file-provider001.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/config-file-provider001.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/config-file-provider002.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/config-file-provider002.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/config-file-provider003.xml +19 -0
- data/spec/fixtures/parity/wrappers/fixtures/config-file-provider003.yaml +7 -0
- data/spec/fixtures/parity/wrappers/fixtures/credentials_binding.xml +30 -0
- data/spec/fixtures/parity/wrappers/fixtures/credentials_binding.yaml +18 -0
- data/spec/fixtures/parity/wrappers/fixtures/custom-tools001.xml +16 -0
- data/spec/fixtures/parity/wrappers/fixtures/custom-tools001.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/delivery-pipeline1.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/delivery-pipeline1.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/delivery-pipeline2.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/delivery-pipeline2.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/env-file001.xml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/env-file001.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/env-script001.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/env-script001.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/exclusion001.xml +12 -0
- data/spec/fixtures/parity/wrappers/fixtures/exclusion001.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/exclusion002.xml +15 -0
- data/spec/fixtures/parity/wrappers/fixtures/exclusion002.yaml +5 -0
- data/spec/fixtures/parity/wrappers/fixtures/exclusion003.xml +18 -0
- data/spec/fixtures/parity/wrappers/fixtures/exclusion003.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/job-log-logger001.xml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/job-log-logger001.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/live_screenshot001.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/live_screenshot001.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/live_screenshot002.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/live_screenshot002.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/locks001.xml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/locks001.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/locks002.xml +15 -0
- data/spec/fixtures/parity/wrappers/fixtures/locks002.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/logfilesize001.xml +10 -0
- data/spec/fixtures/parity/wrappers/fixtures/logfilesize001.yaml +5 -0
- data/spec/fixtures/parity/wrappers/fixtures/logfilesize002.xml +10 -0
- data/spec/fixtures/parity/wrappers/fixtures/logfilesize002.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/logfilesize003.xml +10 -0
- data/spec/fixtures/parity/wrappers/fixtures/logfilesize003.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/logstash001.xml +16 -0
- data/spec/fixtures/parity/wrappers/fixtures/logstash001.yaml +10 -0
- data/spec/fixtures/parity/wrappers/fixtures/logstash002.xml +16 -0
- data/spec/fixtures/parity/wrappers/fixtures/logstash002.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/logstash003.xml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/logstash003.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/m2-repository-cleanup001.xml +12 -0
- data/spec/fixtures/parity/wrappers/fixtures/m2-repository-cleanup001.yaml +5 -0
- data/spec/fixtures/parity/wrappers/fixtures/m2-repository-cleanup002.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/m2-repository-cleanup002.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/matrix-tie-parent.xml +13 -0
- data/spec/fixtures/parity/wrappers/fixtures/matrix-tie-parent.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/mongo-db001.xml +12 -0
- data/spec/fixtures/parity/wrappers/fixtures/mongo-db001.yaml +7 -0
- data/spec/fixtures/parity/wrappers/fixtures/mongo-db002.xml +12 -0
- data/spec/fixtures/parity/wrappers/fixtures/mongo-db002.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/ownership001.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/ownership001.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/passwords001.xml +15 -0
- data/spec/fixtures/parity/wrappers/fixtures/passwords001.yaml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/port-allocator001.xml +12 -0
- data/spec/fixtures/parity/wrappers/fixtures/port-allocator001.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/port-allocator002.xml +15 -0
- data/spec/fixtures/parity/wrappers/fixtures/port-allocator002.yaml +5 -0
- data/spec/fixtures/parity/wrappers/fixtures/raw001.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/raw001.yaml +7 -0
- data/spec/fixtures/parity/wrappers/fixtures/rbenv001.xml +20 -0
- data/spec/fixtures/parity/wrappers/fixtures/rbenv001.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/rbenv002.xml +20 -0
- data/spec/fixtures/parity/wrappers/fixtures/rbenv002.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/rbenv003.xml +20 -0
- data/spec/fixtures/parity/wrappers/fixtures/rbenv003.yaml +10 -0
- data/spec/fixtures/parity/wrappers/fixtures/release001.xml +29 -0
- data/spec/fixtures/parity/wrappers/fixtures/release001.yaml +16 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials001.xml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials001.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials002.xml +12 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials002.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials003.xml +11 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials003.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials004.xml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/ssh-agent-credentials004.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/timeout001.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/timeout001.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/timeout002.xml +13 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/timeout002.yaml +4 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/timeout003.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/timeout003.yaml +7 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/absolute001.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/absolute001.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/absolute001.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/elastic001.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/elastic001.xml +16 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/elastic001.yaml +8 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/likely-stuck001.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/likely-stuck001.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/likely-stuck001.yaml +6 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/no-action001.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/no-action001.xml +14 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/no-action001.yaml +5 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/no-activity001.plugins_info.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/no-activity001.xml +17 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/no-activity001.yaml +7 -0
- data/spec/fixtures/parity/wrappers/fixtures/timeout/version-1.14/plugins_info.yaml +3 -0
- data/spec/fixtures/parity/wrappers/fixtures/xvfb001.xml +18 -0
- data/spec/fixtures/parity/wrappers/fixtures/xvfb001.yaml +13 -0
- data/spec/fixtures/parity/wrappers/fixtures/xvfb002.xml +17 -0
- data/spec/fixtures/parity/wrappers/fixtures/xvfb002.yaml +2 -0
- data/spec/fixtures/parity/wrappers/fixtures/xvnc001.xml +9 -0
- data/spec/fixtures/parity/wrappers/fixtures/xvnc001.yaml +4 -0
- data/spec/fixtures/parity/wrappers/test_wrappers.py +28 -0
- data/spec/fixtures/parity/yamlparser/__init__.py +0 -0
- data/spec/fixtures/parity/yamlparser/fixtures/add_managed_to_desc.xml +22 -0
- data/spec/fixtures/parity/yamlparser/fixtures/add_managed_to_desc.yaml +13 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables.conf +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables.xml +20 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables.yaml +10 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables_include.conf +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables_include.sh +1 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables_include.xml +19 -0
- data/spec/fixtures/parity/yamlparser/fixtures/allow_empty_variables_include.yaml +11 -0
- data/spec/fixtures/parity/yamlparser/fixtures/complete-raw001.xml +41 -0
- data/spec/fixtures/parity/yamlparser/fixtures/complete-raw001.yaml +51 -0
- data/spec/fixtures/parity/yamlparser/fixtures/complete001.xml +157 -0
- data/spec/fixtures/parity/yamlparser/fixtures/complete001.yaml +106 -0
- data/spec/fixtures/parity/yamlparser/fixtures/concat_defaults001.xml +59 -0
- data/spec/fixtures/parity/yamlparser/fixtures/concat_defaults001.yaml +45 -0
- data/spec/fixtures/parity/yamlparser/fixtures/concat_defaults002.xml +19 -0
- data/spec/fixtures/parity/yamlparser/fixtures/concat_defaults002.yaml +25 -0
- data/spec/fixtures/parity/yamlparser/fixtures/custom_distri.xml +36 -0
- data/spec/fixtures/parity/yamlparser/fixtures/custom_distri.yaml +24 -0
- data/spec/fixtures/parity/yamlparser/fixtures/dont_overwrite_desc.conf +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/dont_overwrite_desc.xml +21 -0
- data/spec/fixtures/parity/yamlparser/fixtures/dont_overwrite_desc.yaml +12 -0
- data/spec/fixtures/parity/yamlparser/fixtures/expand-yaml-for-template-job/dimensionality-test001.xml +88 -0
- data/spec/fixtures/parity/yamlparser/fixtures/expand-yaml-for-template-job/dimensionality-test001.yaml +27 -0
- data/spec/fixtures/parity/yamlparser/fixtures/general-example-001.xml +27 -0
- data/spec/fixtures/parity/yamlparser/fixtures/general-example-001.yaml +19 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw-escape001-echo-vars.sh +12 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw-escape001.conf +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw-escape001.xml +44 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw-escape001.yaml +22 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw001.xml +38 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw001.yaml +10 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw002-cool.sh +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw002-cool.zsh +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw002.xml +66 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-raw002.yaml +45 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-rawunicode001-cool.sh +2 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-rawunicode001.xml +25 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include-rawunicode001.yaml +11 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include001.xml +66 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include001.yaml +46 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include001.yaml.inc +3 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include002.xml +24 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include002.yaml +16 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include002.yaml.inc +1 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include002_1.yaml.inc +3 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include_path001.conf +3 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include_path001.xml +15 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include_path001.yaml +8 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include_path002.conf +5 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include_path002.xml +15 -0
- data/spec/fixtures/parity/yamlparser/fixtures/include_path002.yaml +8 -0
- data/spec/fixtures/parity/yamlparser/fixtures/jobgroups_multi_use.xml +91 -0
- data/spec/fixtures/parity/yamlparser/fixtures/jobgroups_multi_use.yaml +34 -0
- data/spec/fixtures/parity/yamlparser/fixtures/other_include_path/test.inc +1 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project-matrix001.xml +70 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project-matrix001.yaml +43 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project_flow_template001.xml +21 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project_flow_template001.yaml +9 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project_flow_template002.xml +33 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project_flow_template002.yaml +26 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project_flow_template003.xml +17 -0
- data/spec/fixtures/parity/yamlparser/fixtures/project_flow_template003.yaml +5 -0
- data/spec/fixtures/parity/yamlparser/fixtures/scm_remote_deep_bug.xml +51 -0
- data/spec/fixtures/parity/yamlparser/fixtures/scm_remote_deep_bug.yaml +15 -0
- data/spec/fixtures/parity/yamlparser/fixtures/second_order_parameter_interpolation001.xml +16 -0
- data/spec/fixtures/parity/yamlparser/fixtures/second_order_parameter_interpolation001.yaml +13 -0
- data/spec/fixtures/parity/yamlparser/fixtures/second_order_parameter_interpolation002.xml +127 -0
- data/spec/fixtures/parity/yamlparser/fixtures/second_order_parameter_interpolation002.yaml +47 -0
- data/spec/fixtures/parity/yamlparser/fixtures/template_honor_defaults.xml +39 -0
- data/spec/fixtures/parity/yamlparser/fixtures/template_honor_defaults.yaml +15 -0
- data/spec/fixtures/parity/yamlparser/fixtures/template_override_project_level_defaults.xml +65 -0
- data/spec/fixtures/parity/yamlparser/fixtures/template_override_project_level_defaults.yaml +33 -0
- data/spec/fixtures/parity/yamlparser/fixtures/templates001.xml +51 -0
- data/spec/fixtures/parity/yamlparser/fixtures/templates001.yaml +28 -0
- data/spec/fixtures/parity/yamlparser/fixtures/templates002.xml +39 -0
- data/spec/fixtures/parity/yamlparser/fixtures/templates002.yaml +14 -0
- data/spec/fixtures/parity/yamlparser/fixtures/test.inc +1 -0
- data/spec/fixtures/parity/yamlparser/fixtures/unicode001.xml +25 -0
- data/spec/fixtures/parity/yamlparser/fixtures/unicode001.yaml +12 -0
- data/spec/fixtures/parity/yamlparser/fixtures/var_applied_in_defaults.xml +19 -0
- data/spec/fixtures/parity/yamlparser/fixtures/var_applied_in_defaults.yaml +13 -0
- data/spec/fixtures/parity/yamlparser/fixtures/yaml_anchor.xml +25 -0
- data/spec/fixtures/parity/yamlparser/fixtures/yaml_anchor.yaml +20 -0
- data/spec/fixtures/parity/yamlparser/test_yamlparser.py +27 -0
- data/spec/macro_spec.rb +34 -0
- data/spec/parity_spec.rb +61 -0
- data/spec/spec_helper.rb +36 -0
- metadata +2296 -0
@@ -0,0 +1,292 @@
|
|
1
|
+
import os
|
2
|
+
import io
|
3
|
+
import yaml
|
4
|
+
|
5
|
+
import jenkins
|
6
|
+
|
7
|
+
from jenkins_jobs import cmd
|
8
|
+
from jenkins_jobs.errors import JenkinsJobsException
|
9
|
+
from tests.base import mock
|
10
|
+
from tests.cmd.test_cmd import CmdTestsBase
|
11
|
+
from tests.cmd.test_recurse_path import fake_os_walk
|
12
|
+
|
13
|
+
|
14
|
+
os_walk_return_values = {
|
15
|
+
'/jjb_projects': [
|
16
|
+
('/jjb_projects', (['dir1', 'dir2', 'dir3'], ())),
|
17
|
+
('/jjb_projects/dir1', (['bar'], ())),
|
18
|
+
('/jjb_projects/dir2', (['baz'], ())),
|
19
|
+
('/jjb_projects/dir3', ([], ())),
|
20
|
+
('/jjb_projects/dir1/bar', ([], ())),
|
21
|
+
('/jjb_projects/dir2/baz', ([], ())),
|
22
|
+
],
|
23
|
+
'/jjb_templates': [
|
24
|
+
('/jjb_templates', (['dir1', 'dir2', 'dir3'], ())),
|
25
|
+
('/jjb_templates/dir1', (['bar'], ())),
|
26
|
+
('/jjb_templates/dir2', (['baz'], ())),
|
27
|
+
('/jjb_templates/dir3', ([], ())),
|
28
|
+
('/jjb_templates/dir1/bar', ([], ())),
|
29
|
+
('/jjb_templates/dir2/baz', ([], ())),
|
30
|
+
],
|
31
|
+
'/jjb_macros': [
|
32
|
+
('/jjb_macros', (['dir1', 'dir2', 'dir3'], ())),
|
33
|
+
('/jjb_macros/dir1', (['bar'], ())),
|
34
|
+
('/jjb_macros/dir2', (['baz'], ())),
|
35
|
+
('/jjb_macros/dir3', ([], ())),
|
36
|
+
('/jjb_macros/dir1/bar', ([], ())),
|
37
|
+
('/jjb_macros/dir2/baz', ([], ())),
|
38
|
+
],
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
def os_walk_side_effects(path_name, topdown):
|
43
|
+
return fake_os_walk(os_walk_return_values[path_name])(path_name, topdown)
|
44
|
+
|
45
|
+
|
46
|
+
@mock.patch('jenkins_jobs.builder.Jenkins.get_plugins_info', mock.MagicMock)
|
47
|
+
class TestTests(CmdTestsBase):
|
48
|
+
|
49
|
+
def test_non_existing_config_dir(self):
|
50
|
+
"""
|
51
|
+
Run test mode and pass a non-existing configuration directory
|
52
|
+
"""
|
53
|
+
args = self.parser.parse_args(['test', 'foo'])
|
54
|
+
self.assertRaises(IOError, cmd.execute, args, self.config)
|
55
|
+
|
56
|
+
def test_non_existing_config_file(self):
|
57
|
+
"""
|
58
|
+
Run test mode and pass a non-existing configuration file
|
59
|
+
"""
|
60
|
+
args = self.parser.parse_args(['test', 'non-existing.yaml'])
|
61
|
+
self.assertRaises(IOError, cmd.execute, args, self.config)
|
62
|
+
|
63
|
+
def test_non_existing_job(self):
|
64
|
+
"""
|
65
|
+
Run test mode and pass a non-existing job name
|
66
|
+
(probably better to fail here)
|
67
|
+
"""
|
68
|
+
args = self.parser.parse_args(['test',
|
69
|
+
os.path.join(self.fixtures_path,
|
70
|
+
'cmd-001.yaml'),
|
71
|
+
'invalid'])
|
72
|
+
args.output_dir = mock.MagicMock()
|
73
|
+
cmd.execute(args, self.config) # probably better to fail here
|
74
|
+
|
75
|
+
def test_valid_job(self):
|
76
|
+
"""
|
77
|
+
Run test mode and pass a valid job name
|
78
|
+
"""
|
79
|
+
args = self.parser.parse_args(['test',
|
80
|
+
os.path.join(self.fixtures_path,
|
81
|
+
'cmd-001.yaml'),
|
82
|
+
'foo-job'])
|
83
|
+
args.output_dir = mock.MagicMock()
|
84
|
+
cmd.execute(args, self.config) # probably better to fail here
|
85
|
+
|
86
|
+
@mock.patch('jenkins_jobs.cmd.Builder.update_job')
|
87
|
+
def test_multi_path(self, update_job_mock):
|
88
|
+
"""
|
89
|
+
Run test mode and pass multiple paths.
|
90
|
+
"""
|
91
|
+
path_list = list(os_walk_return_values.keys())
|
92
|
+
multipath = os.pathsep.join(path_list)
|
93
|
+
|
94
|
+
args = self.parser.parse_args(['test', multipath])
|
95
|
+
args.output_dir = mock.MagicMock()
|
96
|
+
|
97
|
+
cmd.execute(args, self.config)
|
98
|
+
self.assertEqual(args.path, path_list)
|
99
|
+
update_job_mock.assert_called_with(path_list, [],
|
100
|
+
output=args.output_dir)
|
101
|
+
|
102
|
+
@mock.patch('jenkins_jobs.cmd.Builder.update_job')
|
103
|
+
@mock.patch('jenkins_jobs.cmd.os.path.isdir')
|
104
|
+
@mock.patch('jenkins_jobs.cmd.os.walk')
|
105
|
+
def test_recursive_multi_path(self, os_walk_mock, isdir_mock,
|
106
|
+
update_job_mock):
|
107
|
+
"""
|
108
|
+
Run test mode and pass multiple paths with recursive path option.
|
109
|
+
"""
|
110
|
+
|
111
|
+
os_walk_mock.side_effect = os_walk_side_effects
|
112
|
+
isdir_mock.return_value = True
|
113
|
+
|
114
|
+
path_list = os_walk_return_values.keys()
|
115
|
+
paths = []
|
116
|
+
for path in path_list:
|
117
|
+
paths.extend([p for p, _ in os_walk_return_values[path]])
|
118
|
+
|
119
|
+
multipath = os.pathsep.join(path_list)
|
120
|
+
|
121
|
+
args = self.parser.parse_args(['test', '-r', multipath])
|
122
|
+
args.output_dir = mock.MagicMock()
|
123
|
+
|
124
|
+
cmd.execute(args, self.config)
|
125
|
+
|
126
|
+
update_job_mock.assert_called_with(paths, [], output=args.output_dir)
|
127
|
+
|
128
|
+
args = self.parser.parse_args(['test', multipath])
|
129
|
+
self.config.set('job_builder', 'recursive', 'True')
|
130
|
+
cmd.execute(args, self.config)
|
131
|
+
|
132
|
+
update_job_mock.assert_called_with(paths, [], output=args.output_dir)
|
133
|
+
|
134
|
+
@mock.patch('jenkins_jobs.cmd.Builder.update_job')
|
135
|
+
@mock.patch('jenkins_jobs.cmd.os.path.isdir')
|
136
|
+
@mock.patch('jenkins_jobs.cmd.os.walk')
|
137
|
+
def test_recursive_multi_path_with_excludes(self, os_walk_mock, isdir_mock,
|
138
|
+
update_job_mock):
|
139
|
+
"""
|
140
|
+
Run test mode and pass multiple paths with recursive path option.
|
141
|
+
"""
|
142
|
+
|
143
|
+
os_walk_mock.side_effect = os_walk_side_effects
|
144
|
+
isdir_mock.return_value = True
|
145
|
+
|
146
|
+
path_list = os_walk_return_values.keys()
|
147
|
+
paths = []
|
148
|
+
for path in path_list:
|
149
|
+
paths.extend([p for p, __ in os_walk_return_values[path]
|
150
|
+
if 'dir1' not in p and 'dir2' not in p])
|
151
|
+
|
152
|
+
multipath = os.pathsep.join(path_list)
|
153
|
+
|
154
|
+
args = self.parser.parse_args(['test', '-r', multipath, '-x',
|
155
|
+
'dir1:dir2'])
|
156
|
+
args.output_dir = mock.MagicMock()
|
157
|
+
|
158
|
+
cmd.execute(args, self.config)
|
159
|
+
|
160
|
+
update_job_mock.assert_called_with(paths, [], output=args.output_dir)
|
161
|
+
|
162
|
+
def test_console_output(self):
|
163
|
+
"""
|
164
|
+
Run test mode and verify that resulting XML gets sent to the console.
|
165
|
+
"""
|
166
|
+
|
167
|
+
console_out = io.BytesIO()
|
168
|
+
with mock.patch('sys.stdout', console_out):
|
169
|
+
cmd.main(['test', os.path.join(self.fixtures_path,
|
170
|
+
'cmd-001.yaml')])
|
171
|
+
xml_content = io.open(os.path.join(self.fixtures_path, 'cmd-001.xml'),
|
172
|
+
'r', encoding='utf-8').read()
|
173
|
+
self.assertEqual(console_out.getvalue().decode('utf-8'), xml_content)
|
174
|
+
|
175
|
+
def test_config_with_test(self):
|
176
|
+
"""
|
177
|
+
Run test mode and pass a config file
|
178
|
+
"""
|
179
|
+
args = self.parser.parse_args(['--conf',
|
180
|
+
os.path.join(self.fixtures_path,
|
181
|
+
'cmd-001.conf'),
|
182
|
+
'test',
|
183
|
+
os.path.join(self.fixtures_path,
|
184
|
+
'cmd-001.yaml'),
|
185
|
+
'foo-job'])
|
186
|
+
config = cmd.setup_config_settings(args)
|
187
|
+
self.assertEqual(config.get('jenkins', 'url'),
|
188
|
+
"http://test-jenkins.with.non.default.url:8080/")
|
189
|
+
|
190
|
+
@mock.patch('jenkins_jobs.builder.YamlParser.generateXML')
|
191
|
+
@mock.patch('jenkins_jobs.parser.ModuleRegistry')
|
192
|
+
def test_plugins_info_stub_option(self, registry_mock, generateXML_mock):
|
193
|
+
"""
|
194
|
+
Test handling of plugins_info stub option.
|
195
|
+
"""
|
196
|
+
plugins_info_stub_yaml_file = os.path.join(self.fixtures_path,
|
197
|
+
'plugins-info.yaml')
|
198
|
+
args = ['--conf',
|
199
|
+
os.path.join(self.fixtures_path, 'cmd-001.conf'),
|
200
|
+
'test',
|
201
|
+
'-p',
|
202
|
+
plugins_info_stub_yaml_file,
|
203
|
+
os.path.join(self.fixtures_path, 'cmd-001.yaml')]
|
204
|
+
args = self.parser.parse_args(args)
|
205
|
+
|
206
|
+
with mock.patch('sys.stdout'):
|
207
|
+
cmd.execute(args, self.config) # probably better to fail here
|
208
|
+
|
209
|
+
with io.open(plugins_info_stub_yaml_file,
|
210
|
+
'r', encoding='utf-8') as yaml_file:
|
211
|
+
plugins_info_list = yaml.load(yaml_file)
|
212
|
+
|
213
|
+
registry_mock.assert_called_with(self.config, plugins_info_list)
|
214
|
+
|
215
|
+
@mock.patch('jenkins_jobs.builder.YamlParser.generateXML')
|
216
|
+
@mock.patch('jenkins_jobs.parser.ModuleRegistry')
|
217
|
+
def test_bogus_plugins_info_stub_option(self, registry_mock,
|
218
|
+
generateXML_mock):
|
219
|
+
"""
|
220
|
+
Verify that a JenkinsJobException is raised if the plugins_info stub
|
221
|
+
file does not yield a list as its top-level object.
|
222
|
+
"""
|
223
|
+
plugins_info_stub_yaml_file = os.path.join(self.fixtures_path,
|
224
|
+
'bogus-plugins-info.yaml')
|
225
|
+
args = ['--conf',
|
226
|
+
os.path.join(self.fixtures_path, 'cmd-001.conf'),
|
227
|
+
'test',
|
228
|
+
'-p',
|
229
|
+
plugins_info_stub_yaml_file,
|
230
|
+
os.path.join(self.fixtures_path, 'cmd-001.yaml')]
|
231
|
+
args = self.parser.parse_args(args)
|
232
|
+
|
233
|
+
with mock.patch('sys.stdout'):
|
234
|
+
e = self.assertRaises(JenkinsJobsException, cmd.execute,
|
235
|
+
args, self.config)
|
236
|
+
self.assertIn("must contain a Yaml list", str(e))
|
237
|
+
|
238
|
+
|
239
|
+
class TestJenkinsGetPluginInfoError(CmdTestsBase):
|
240
|
+
""" This test class is used for testing the 'test' subcommand when we want
|
241
|
+
to validate its behavior without mocking
|
242
|
+
jenkins_jobs.builder.Jenkins.get_plugins_info
|
243
|
+
"""
|
244
|
+
|
245
|
+
@mock.patch('jenkins.Jenkins.get_plugins_info')
|
246
|
+
def test_console_output_jenkins_connection_failure_warning(
|
247
|
+
self, get_plugins_info_mock):
|
248
|
+
"""
|
249
|
+
Run test mode and verify that failed Jenkins connection attempt
|
250
|
+
exception does not bubble out of cmd.main. Ideally, we would also test
|
251
|
+
that an appropriate message is logged to stderr but it's somewhat
|
252
|
+
difficult to figure out how to actually enable stderr in this test
|
253
|
+
suite.
|
254
|
+
"""
|
255
|
+
|
256
|
+
get_plugins_info_mock.side_effect = \
|
257
|
+
jenkins.JenkinsException("Connection refused")
|
258
|
+
with mock.patch('sys.stdout'):
|
259
|
+
try:
|
260
|
+
cmd.main(['test', os.path.join(self.fixtures_path,
|
261
|
+
'cmd-001.yaml')])
|
262
|
+
except jenkins.JenkinsException:
|
263
|
+
self.fail("jenkins.JenkinsException propagated to main")
|
264
|
+
except:
|
265
|
+
pass # only care about jenkins.JenkinsException for now
|
266
|
+
|
267
|
+
@mock.patch('jenkins.Jenkins.get_plugins_info')
|
268
|
+
def test_skip_plugin_retrieval_if_no_config_provided(
|
269
|
+
self, get_plugins_info_mock):
|
270
|
+
"""
|
271
|
+
Verify that retrieval of information from Jenkins instance about its
|
272
|
+
plugins will be skipped when run if no config file provided.
|
273
|
+
"""
|
274
|
+
with mock.patch('sys.stdout'):
|
275
|
+
cmd.main(['test', os.path.join(self.fixtures_path,
|
276
|
+
'cmd-001.yaml')])
|
277
|
+
self.assertFalse(get_plugins_info_mock.called)
|
278
|
+
|
279
|
+
@mock.patch('jenkins.Jenkins.get_plugins_info')
|
280
|
+
def test_skip_plugin_retrieval_if_disabled(self, get_plugins_info_mock):
|
281
|
+
"""
|
282
|
+
Verify that retrieval of information from Jenkins instance about its
|
283
|
+
plugins will be skipped when run if a config file provided and disables
|
284
|
+
querying through a config option.
|
285
|
+
"""
|
286
|
+
with mock.patch('sys.stdout'):
|
287
|
+
cmd.main(['--conf',
|
288
|
+
os.path.join(self.fixtures_path,
|
289
|
+
'disable-query-plugins.conf'),
|
290
|
+
'test',
|
291
|
+
os.path.join(self.fixtures_path, 'cmd-001.yaml')])
|
292
|
+
self.assertFalse(get_plugins_info_mock.called)
|
@@ -0,0 +1,101 @@
|
|
1
|
+
|
2
|
+
# Joint copyright:
|
3
|
+
# - Copyright 2015 Hewlett-Packard Development Company, L.P.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
13
|
+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
14
|
+
# License for the specific language governing permissions and limitations
|
15
|
+
# under the License.
|
16
|
+
|
17
|
+
import os
|
18
|
+
|
19
|
+
from jenkins_jobs import cmd
|
20
|
+
from jenkins_jobs import builder
|
21
|
+
from tests.base import mock
|
22
|
+
from tests.cmd.test_cmd import CmdTestsBase
|
23
|
+
|
24
|
+
|
25
|
+
@mock.patch('jenkins_jobs.builder.Jenkins.get_plugins_info', mock.MagicMock)
|
26
|
+
class UpdateTests(CmdTestsBase):
|
27
|
+
|
28
|
+
@mock.patch('jenkins_jobs.cmd.Builder.update_job')
|
29
|
+
def test_update_jobs(self, update_job_mock):
|
30
|
+
"""
|
31
|
+
Test update_job is called
|
32
|
+
"""
|
33
|
+
# don't care about the value returned here
|
34
|
+
update_job_mock.return_value = ([], 0)
|
35
|
+
|
36
|
+
path = os.path.join(self.fixtures_path, 'cmd-002.yaml')
|
37
|
+
args = self.parser.parse_args(['update', path])
|
38
|
+
|
39
|
+
cmd.execute(args, self.config)
|
40
|
+
update_job_mock.assert_called_with([path], [])
|
41
|
+
|
42
|
+
@mock.patch('jenkins_jobs.builder.Jenkins.is_job', return_value=True)
|
43
|
+
@mock.patch('jenkins_jobs.builder.Jenkins.get_jobs')
|
44
|
+
@mock.patch('jenkins_jobs.builder.Builder.delete_job')
|
45
|
+
@mock.patch('jenkins_jobs.cmd.Builder')
|
46
|
+
def test_update_jobs_and_delete_old(self, builder_mock, delete_job_mock,
|
47
|
+
get_jobs_mock, is_job_mock):
|
48
|
+
"""
|
49
|
+
Test update behaviour with --delete-old option
|
50
|
+
|
51
|
+
Test update of jobs with the --delete-old option enabled, where only
|
52
|
+
some jobs result in has_changed() to limit the number of times
|
53
|
+
update_job is called, and have the get_jobs() method return additional
|
54
|
+
jobs not in the input yaml to test that the code in cmd will call
|
55
|
+
delete_job() after update_job() when '--delete-old' is set but only
|
56
|
+
for the extra jobs.
|
57
|
+
"""
|
58
|
+
# set up some test data
|
59
|
+
jobs = ['old_job001', 'old_job002']
|
60
|
+
extra_jobs = [{'name': name} for name in jobs]
|
61
|
+
|
62
|
+
builder_obj = builder.Builder('http://jenkins.example.com',
|
63
|
+
'doesnot', 'matter',
|
64
|
+
plugins_list={})
|
65
|
+
|
66
|
+
# get the instance created by mock and redirect some of the method
|
67
|
+
# mocks to call real methods on a the above test object.
|
68
|
+
b_inst = builder_mock.return_value
|
69
|
+
b_inst.plugins_list = builder_obj.plugins_list
|
70
|
+
b_inst.update_job.side_effect = builder_obj.update_job
|
71
|
+
b_inst.delete_old_managed.side_effect = builder_obj.delete_old_managed
|
72
|
+
|
73
|
+
def _get_jobs():
|
74
|
+
return builder_obj.parser.jobs + extra_jobs
|
75
|
+
get_jobs_mock.side_effect = _get_jobs
|
76
|
+
|
77
|
+
# override cache to ensure Jenkins.update_job called a limited number
|
78
|
+
# of times
|
79
|
+
self.cache_mock.return_value.has_changed.side_effect = (
|
80
|
+
[True] * 2 + [False] * 2)
|
81
|
+
|
82
|
+
path = os.path.join(self.fixtures_path, 'cmd-002.yaml')
|
83
|
+
args = self.parser.parse_args(['update', '--delete-old', path])
|
84
|
+
|
85
|
+
with mock.patch('jenkins_jobs.builder.Jenkins.update_job') as update:
|
86
|
+
with mock.patch('jenkins_jobs.builder.Jenkins.is_managed',
|
87
|
+
return_value=True):
|
88
|
+
cmd.execute(args, self.config)
|
89
|
+
self.assertEquals(2, update.call_count,
|
90
|
+
"Expected Jenkins.update_job to be called '%d' "
|
91
|
+
"times, got '%d' calls instead.\n"
|
92
|
+
"Called with: %s" % (2, update.call_count,
|
93
|
+
update.mock_calls))
|
94
|
+
|
95
|
+
calls = [mock.call(name) for name in jobs]
|
96
|
+
self.assertEquals(2, delete_job_mock.call_count,
|
97
|
+
"Expected Jenkins.delete_job to be called '%d' "
|
98
|
+
"times got '%d' calls instead.\n"
|
99
|
+
"Called with: %s" % (2, delete_job_mock.call_count,
|
100
|
+
delete_job_mock.mock_calls))
|
101
|
+
delete_job_mock.assert_has_calls(calls, any_order=True)
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import os
|
2
|
+
from six.moves import configparser, StringIO
|
3
|
+
import testtools
|
4
|
+
from jenkins_jobs import cmd
|
5
|
+
from tests.base import mock
|
6
|
+
|
7
|
+
|
8
|
+
class CmdTestsBase(testtools.TestCase):
|
9
|
+
|
10
|
+
fixtures_path = os.path.join(os.path.dirname(__file__), 'fixtures')
|
11
|
+
parser = cmd.create_parser()
|
12
|
+
|
13
|
+
def setUp(self):
|
14
|
+
super(CmdTestsBase, self).setUp()
|
15
|
+
|
16
|
+
# Testing the cmd module can sometimes result in the CacheStorage class
|
17
|
+
# attempting to create the cache directory multiple times as the tests
|
18
|
+
# are run in parallel. Stub out the CacheStorage to ensure that each
|
19
|
+
# test can safely create the cache directory without risk of
|
20
|
+
# interference.
|
21
|
+
cache_patch = mock.patch('jenkins_jobs.builder.CacheStorage',
|
22
|
+
autospec=True)
|
23
|
+
self.cache_mock = cache_patch.start()
|
24
|
+
self.addCleanup(cache_patch.stop)
|
25
|
+
|
26
|
+
self.config = configparser.ConfigParser()
|
27
|
+
self.config.readfp(StringIO(cmd.DEFAULT_CONF))
|
28
|
+
|
29
|
+
|
30
|
+
class CmdTests(CmdTestsBase):
|
31
|
+
|
32
|
+
def test_with_empty_args(self):
|
33
|
+
"""
|
34
|
+
User passes no args, should fail with SystemExit
|
35
|
+
"""
|
36
|
+
with mock.patch('sys.stderr'):
|
37
|
+
self.assertRaises(SystemExit, cmd.main, [])
|
@@ -0,0 +1,136 @@
|
|
1
|
+
import os
|
2
|
+
|
3
|
+
from tests.base import mock
|
4
|
+
import testtools
|
5
|
+
|
6
|
+
from jenkins_jobs import cmd
|
7
|
+
|
8
|
+
|
9
|
+
def fake_os_walk(paths):
|
10
|
+
"""Helper function for mocking os.walk() where must test that manipulation
|
11
|
+
of the returned dirs variable works as expected
|
12
|
+
"""
|
13
|
+
paths_dict = dict(paths)
|
14
|
+
|
15
|
+
def os_walk(top, topdown=True):
|
16
|
+
dirs, nondirs = paths_dict[top]
|
17
|
+
yield top, dirs, nondirs
|
18
|
+
for name in dirs:
|
19
|
+
# hard code use of '/' to ensure the test data can be defined as
|
20
|
+
# simple strings otherwise tests using this helper will break on
|
21
|
+
# platforms where os.path.sep is different.
|
22
|
+
new_path = "/".join([top, name])
|
23
|
+
for x in os_walk(new_path, topdown):
|
24
|
+
yield x
|
25
|
+
return os_walk
|
26
|
+
|
27
|
+
|
28
|
+
# Testing the cmd module can sometimes result in the CacheStorage class
|
29
|
+
# attempting to create the cache directory multiple times as the tests
|
30
|
+
# are run in parallel. Stub out the CacheStorage to ensure that each
|
31
|
+
# test can safely create the object without effect.
|
32
|
+
@mock.patch('jenkins_jobs.builder.CacheStorage', mock.MagicMock)
|
33
|
+
class CmdRecursePath(testtools.TestCase):
|
34
|
+
|
35
|
+
@mock.patch('jenkins_jobs.cmd.os.walk')
|
36
|
+
def test_recursive_path_option_exclude_pattern(self, oswalk_mock):
|
37
|
+
"""
|
38
|
+
Test paths returned by the recursive processing when using pattern
|
39
|
+
excludes.
|
40
|
+
|
41
|
+
testing paths
|
42
|
+
/jjb_configs/dir1/test1/
|
43
|
+
/jjb_configs/dir1/file
|
44
|
+
/jjb_configs/dir2/test2/
|
45
|
+
/jjb_configs/dir3/bar/
|
46
|
+
/jjb_configs/test3/bar/
|
47
|
+
/jjb_configs/test3/baz/
|
48
|
+
"""
|
49
|
+
|
50
|
+
os_walk_paths = [
|
51
|
+
('/jjb_configs', (['dir1', 'dir2', 'dir3', 'test3'], ())),
|
52
|
+
('/jjb_configs/dir1', (['test1'], ('file'))),
|
53
|
+
('/jjb_configs/dir2', (['test2'], ())),
|
54
|
+
('/jjb_configs/dir3', (['bar'], ())),
|
55
|
+
('/jjb_configs/dir3/bar', ([], ())),
|
56
|
+
('/jjb_configs/test3/bar', None),
|
57
|
+
('/jjb_configs/test3/baz', None)
|
58
|
+
]
|
59
|
+
|
60
|
+
paths = [k for k, v in os_walk_paths if v is not None]
|
61
|
+
|
62
|
+
oswalk_mock.side_effect = fake_os_walk(os_walk_paths)
|
63
|
+
self.assertEqual(paths, cmd.recurse_path('/jjb_configs', ['test*']))
|
64
|
+
|
65
|
+
@mock.patch('jenkins_jobs.cmd.os.walk')
|
66
|
+
def test_recursive_path_option_exclude_absolute(self, oswalk_mock):
|
67
|
+
"""
|
68
|
+
Test paths returned by the recursive processing when using absolute
|
69
|
+
excludes.
|
70
|
+
|
71
|
+
testing paths
|
72
|
+
/jjb_configs/dir1/test1/
|
73
|
+
/jjb_configs/dir1/file
|
74
|
+
/jjb_configs/dir2/test2/
|
75
|
+
/jjb_configs/dir3/bar/
|
76
|
+
/jjb_configs/test3/bar/
|
77
|
+
/jjb_configs/test3/baz/
|
78
|
+
"""
|
79
|
+
|
80
|
+
os_walk_paths = [
|
81
|
+
('/jjb_configs', (['dir1', 'dir2', 'dir3', 'test3'], ())),
|
82
|
+
('/jjb_configs/dir1', None),
|
83
|
+
('/jjb_configs/dir2', (['test2'], ())),
|
84
|
+
('/jjb_configs/dir3', (['bar'], ())),
|
85
|
+
('/jjb_configs/test3', (['bar', 'baz'], ())),
|
86
|
+
('/jjb_configs/dir2/test2', ([], ())),
|
87
|
+
('/jjb_configs/dir3/bar', ([], ())),
|
88
|
+
('/jjb_configs/test3/bar', ([], ())),
|
89
|
+
('/jjb_configs/test3/baz', ([], ()))
|
90
|
+
]
|
91
|
+
|
92
|
+
paths = [k for k, v in os_walk_paths if v is not None]
|
93
|
+
|
94
|
+
oswalk_mock.side_effect = fake_os_walk(os_walk_paths)
|
95
|
+
|
96
|
+
self.assertEqual(paths, cmd.recurse_path('/jjb_configs',
|
97
|
+
['/jjb_configs/dir1']))
|
98
|
+
|
99
|
+
@mock.patch('jenkins_jobs.cmd.os.walk')
|
100
|
+
def test_recursive_path_option_exclude_relative(self, oswalk_mock):
|
101
|
+
"""
|
102
|
+
Test paths returned by the recursive processing when using relative
|
103
|
+
excludes.
|
104
|
+
|
105
|
+
testing paths
|
106
|
+
./jjb_configs/dir1/test/
|
107
|
+
./jjb_configs/dir1/file
|
108
|
+
./jjb_configs/dir2/test/
|
109
|
+
./jjb_configs/dir3/bar/
|
110
|
+
./jjb_configs/test3/bar/
|
111
|
+
./jjb_configs/test3/baz/
|
112
|
+
"""
|
113
|
+
|
114
|
+
os_walk_paths = [
|
115
|
+
('jjb_configs', (['dir1', 'dir2', 'dir3', 'test3'], ())),
|
116
|
+
('jjb_configs/dir1', (['test'], ('file'))),
|
117
|
+
('jjb_configs/dir2', (['test2'], ())),
|
118
|
+
('jjb_configs/dir3', (['bar'], ())),
|
119
|
+
('jjb_configs/test3', (['bar', 'baz'], ())),
|
120
|
+
('jjb_configs/dir1/test', ([], ())),
|
121
|
+
('jjb_configs/dir2/test2', ([], ())),
|
122
|
+
('jjb_configs/dir3/bar', ([], ())),
|
123
|
+
('jjb_configs/test3/bar', None),
|
124
|
+
('jjb_configs/test3/baz', ([], ()))
|
125
|
+
]
|
126
|
+
|
127
|
+
rel_os_walk_paths = [
|
128
|
+
(os.path.abspath(
|
129
|
+
os.path.join(os.path.curdir, k)), v) for k, v in os_walk_paths]
|
130
|
+
|
131
|
+
paths = [k for k, v in rel_os_walk_paths if v is not None]
|
132
|
+
|
133
|
+
oswalk_mock.side_effect = fake_os_walk(rel_os_walk_paths)
|
134
|
+
|
135
|
+
self.assertEqual(paths, cmd.recurse_path('jjb_configs',
|
136
|
+
['jjb_configs/test3/bar']))
|
File without changes
|
@@ -0,0 +1,51 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<project>
|
3
|
+
<actions/>
|
4
|
+
<description><!-- Managed by Jenkins Job Builder --></description>
|
5
|
+
<keepDependencies>false</keepDependencies>
|
6
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
7
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
8
|
+
<concurrentBuild>false</concurrentBuild>
|
9
|
+
<canRoam>true</canRoam>
|
10
|
+
<properties/>
|
11
|
+
<scm class="hudson.plugins.git.GitSCM">
|
12
|
+
<configVersion>2</configVersion>
|
13
|
+
<userRemoteConfigs>
|
14
|
+
<hudson.plugins.git.UserRemoteConfig>
|
15
|
+
<name>origin</name>
|
16
|
+
<refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
|
17
|
+
<url>ssh://jenkins@review.openstack.org:29418/openstack-infra/jenkins-job-builder.git</url>
|
18
|
+
</hudson.plugins.git.UserRemoteConfig>
|
19
|
+
</userRemoteConfigs>
|
20
|
+
<branches>
|
21
|
+
<hudson.plugins.git.BranchSpec>
|
22
|
+
<name>**</name>
|
23
|
+
</hudson.plugins.git.BranchSpec>
|
24
|
+
</branches>
|
25
|
+
<excludedUsers/>
|
26
|
+
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
27
|
+
<disableSubmodules>false</disableSubmodules>
|
28
|
+
<recursiveSubmodules>false</recursiveSubmodules>
|
29
|
+
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
30
|
+
<authorOrCommitter>false</authorOrCommitter>
|
31
|
+
<wipeOutWorkspace>true</wipeOutWorkspace>
|
32
|
+
<pruneBranches>false</pruneBranches>
|
33
|
+
<remotePoll>false</remotePoll>
|
34
|
+
<gitTool>Default</gitTool>
|
35
|
+
<submoduleCfg class="list"/>
|
36
|
+
<relativeTargetDir/>
|
37
|
+
<reference/>
|
38
|
+
<gitConfigName/>
|
39
|
+
<gitConfigEmail/>
|
40
|
+
<skipTag>false</skipTag>
|
41
|
+
<scmName/>
|
42
|
+
<useShallowClone>false</useShallowClone>
|
43
|
+
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
44
|
+
<extensions>
|
45
|
+
<hudson.plugins.git.extensions.impl.WipeWorkspace/>
|
46
|
+
</extensions>
|
47
|
+
</scm>
|
48
|
+
<builders/>
|
49
|
+
<publishers/>
|
50
|
+
<buildWrappers/>
|
51
|
+
</project>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
- project:
|
2
|
+
name: duplicates
|
3
|
+
version:
|
4
|
+
- 1.1
|
5
|
+
jobs:
|
6
|
+
- 'duplicates002_{version}'
|
7
|
+
|
8
|
+
- job-template:
|
9
|
+
name: 'duplicates002_{version}'
|
10
|
+
scm:
|
11
|
+
- git:
|
12
|
+
url: ssh://jenkins@review.openstack.org:29418/openstack-infra/jenkins-job-builder.git
|
13
|
+
|
14
|
+
- job:
|
15
|
+
name: duplicates002_1.1
|
16
|
+
scm:
|
17
|
+
- git:
|
18
|
+
url: ssh://jenkins@review.openstack.org:29418/openstack-infra/git-review.git
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<project>
|
3
|
+
<actions/>
|
4
|
+
<description><!-- Managed by Jenkins Job Builder --></description>
|
5
|
+
<keepDependencies>false</keepDependencies>
|
6
|
+
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
7
|
+
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
8
|
+
<concurrentBuild>false</concurrentBuild>
|
9
|
+
<canRoam>true</canRoam>
|
10
|
+
<properties/>
|
11
|
+
<scm class="hudson.scm.NullSCM"/>
|
12
|
+
<builders>
|
13
|
+
<hudson.tasks.Shell>
|
14
|
+
<command>step2</command>
|
15
|
+
</hudson.tasks.Shell>
|
16
|
+
</builders>
|
17
|
+
<publishers/>
|
18
|
+
<buildWrappers/>
|
19
|
+
</project>
|