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
data/lib/cigale/cli.rb
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
|
2
|
+
require "cigale/macro_context"
|
3
|
+
require "cigale/exts"
|
4
|
+
require "cigale/generator"
|
5
|
+
|
6
|
+
require "logger"
|
7
|
+
require "slop"
|
8
|
+
require "jenkins_api_client"
|
9
|
+
|
10
|
+
require "yaml"
|
11
|
+
require "fileutils"
|
12
|
+
require "builder"
|
13
|
+
|
14
|
+
module Cigale
|
15
|
+
# Command-line interface, need to be exploded further
|
16
|
+
class CLI < Exts
|
17
|
+
include Cigale::Generator
|
18
|
+
|
19
|
+
def logger
|
20
|
+
@logger ||= Logger.new($stdout).tap do |log|
|
21
|
+
log.progname = "cigale"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def initialize (args)
|
26
|
+
@numjobs = 0
|
27
|
+
|
28
|
+
opts = Slop.parse args do |o|
|
29
|
+
o.banner = "Usage: cigale [options] [command] [spec_file.yml]"
|
30
|
+
|
31
|
+
o.string "-o", "output", "Output directory", :default => "."
|
32
|
+
o.bool "--fixture", "fixture", "Enable fixture mode", :default => false
|
33
|
+
o.bool "--masquerade", "masquerade", "Try to pass off as jenkins-job-builder", :default => false
|
34
|
+
o.integer "--blowup", "blowup", "Max macro expansion rounds", :default => 1023
|
35
|
+
o.string "--test-category", "test_category", "Test category"
|
36
|
+
o.string "-l", "loglevel", "Logger level", :default => "INFO"
|
37
|
+
end
|
38
|
+
@opts = opts
|
39
|
+
|
40
|
+
logger.level = Logger.const_get opts[:loglevel]
|
41
|
+
|
42
|
+
if opts.arguments.empty?
|
43
|
+
logger.error "No command given"
|
44
|
+
print_usage!
|
45
|
+
return
|
46
|
+
end
|
47
|
+
|
48
|
+
cmd, input = opts.arguments
|
49
|
+
case cmd
|
50
|
+
when "test", "dump", "update"
|
51
|
+
# all good
|
52
|
+
else
|
53
|
+
logger.error "Unknown command: #{cmd}"
|
54
|
+
exit 1
|
55
|
+
end
|
56
|
+
|
57
|
+
unless input
|
58
|
+
logger.error "No input given"
|
59
|
+
print_usage!
|
60
|
+
exit 1
|
61
|
+
end
|
62
|
+
|
63
|
+
inputs = if File.directory? input
|
64
|
+
Dir.glob(File.join(input, "**", "*.y{a,}ml"))
|
65
|
+
else
|
66
|
+
[input]
|
67
|
+
end
|
68
|
+
|
69
|
+
entries = []
|
70
|
+
|
71
|
+
for input in inputs
|
72
|
+
logger.info "Parsing #{input}"
|
73
|
+
parsed = YAML.load_file(input)
|
74
|
+
|
75
|
+
unless Array === parsed
|
76
|
+
raise "Top-level entity in YAML must be an array" unless opts[:fixture]
|
77
|
+
parsed = [{"job" => parsed}]
|
78
|
+
end
|
79
|
+
|
80
|
+
entries += parsed
|
81
|
+
end
|
82
|
+
|
83
|
+
# sort out macro definitions from actual entries
|
84
|
+
@library = {}
|
85
|
+
@definitions = []
|
86
|
+
|
87
|
+
for entry in entries
|
88
|
+
etype, edef = first_pair(entry)
|
89
|
+
|
90
|
+
case etype
|
91
|
+
when Symbol
|
92
|
+
# ruby's yaml parses `:key: val` as `:key => val` rather
|
93
|
+
# than `":key" => val`, so macro definitions in cigale have symbol keys
|
94
|
+
@library[etype.to_s] = edef
|
95
|
+
else
|
96
|
+
@definitions.push entry
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
logger.info "Parsed #{@library.size} macros, #{@definitions.size} job definitions."
|
101
|
+
|
102
|
+
output = opts[:output]
|
103
|
+
client = nil
|
104
|
+
|
105
|
+
case cmd
|
106
|
+
when "test", "dump"
|
107
|
+
logger.info "Creating directory #{output}"
|
108
|
+
FileUtils.mkdir_p output
|
109
|
+
when "update"
|
110
|
+
client = get_client!
|
111
|
+
all_jobs = client.job.list_all
|
112
|
+
logger.info "Before update, job list: "
|
113
|
+
all_jobs.each { |x| logger.info " - #{x}" }
|
114
|
+
end
|
115
|
+
|
116
|
+
for entry in @definitions
|
117
|
+
entry = fully_expand(entry)
|
118
|
+
|
119
|
+
etype, edef = first_pair(entry)
|
120
|
+
if edef["name"].nil?
|
121
|
+
raise "Jobs must have names" unless opts[:fixture]
|
122
|
+
edef["name"] = "fixture"
|
123
|
+
edef["project-type"] ||= "project"
|
124
|
+
end
|
125
|
+
|
126
|
+
job_name = edef["name"]
|
127
|
+
job_path = File.join(output, job_name)
|
128
|
+
|
129
|
+
case etype
|
130
|
+
when "job"
|
131
|
+
case cmd
|
132
|
+
when "dump"
|
133
|
+
File.open(job_path + ".yml", "w") do |f|
|
134
|
+
f.write entry.to_yaml
|
135
|
+
end
|
136
|
+
else
|
137
|
+
xml = ::Builder::XmlMarkup.new(:indent => 2)
|
138
|
+
xml.instruct! :xml, :version => "1.0", :encoding => "utf-8"
|
139
|
+
translate_job xml, edef
|
140
|
+
|
141
|
+
case cmd
|
142
|
+
when "test"
|
143
|
+
File.open(job_path + ".xml", "w") do |f|
|
144
|
+
f.write(xml.target!)
|
145
|
+
end
|
146
|
+
when "update"
|
147
|
+
client.job.create_or_update(job_name, xml.target!)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
else
|
151
|
+
raise "Unknown top-level type: #{etype}"
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
logger.info "Generated #{@numjobs} jobs."
|
156
|
+
end
|
157
|
+
|
158
|
+
def fully_expand (entry)
|
159
|
+
original = entry
|
160
|
+
iterations = 0
|
161
|
+
|
162
|
+
# TODO detect circular dependencies instead
|
163
|
+
while iterations < @opts[:blowup]
|
164
|
+
ctx = MacroContext.new :library => @library
|
165
|
+
entry = ctx.expand(entry)
|
166
|
+
return entry unless ctx.had_expansions?
|
167
|
+
iterations += 1
|
168
|
+
end
|
169
|
+
|
170
|
+
raise "Blew up while trying to expand #{original.inspect}"
|
171
|
+
end
|
172
|
+
|
173
|
+
def underize (name)
|
174
|
+
name.gsub(/-/, '_')
|
175
|
+
end
|
176
|
+
|
177
|
+
def print_usage!
|
178
|
+
puts "cigale v#{VERSION}"
|
179
|
+
puts "Usage: cigale [test] -o output/directory [spec file or directory]"
|
180
|
+
end
|
181
|
+
|
182
|
+
def get_client!
|
183
|
+
config_path = "secret/cigale.yml"
|
184
|
+
config = {}
|
185
|
+
|
186
|
+
begin
|
187
|
+
config = YAML.load_file(config_path)
|
188
|
+
rescue Errno::ENOENT => e
|
189
|
+
logger.error "Config file missing: #{config_path}"
|
190
|
+
logger.error "Please create one. The `server` section can have any of the fields listed at:"
|
191
|
+
logger.error " http://github.arangamani.net/jenkins_api_client/JenkinsApi/Client.html#initialize-instance_method"
|
192
|
+
exit 1
|
193
|
+
end
|
194
|
+
|
195
|
+
JenkinsApi::Client.new(config["server"])
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
data/lib/cigale/exts.rb
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
|
2
|
+
require "pp" # pretty-print
|
3
|
+
|
4
|
+
module Cigale
|
5
|
+
class Exts
|
6
|
+
# Lets you do `dig(hash, "a.b.c")` instead of `hash["a"]["b"]["c"]`
|
7
|
+
def dig(h, dotted_path)
|
8
|
+
parts = dotted_path.split '.', 2
|
9
|
+
match = h[parts[0]]
|
10
|
+
if !parts[1] or match.nil?
|
11
|
+
return match
|
12
|
+
else
|
13
|
+
return dig(match, parts[1])
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
# Given {:a => b, :c => d, :e => f}, returns [:a, b]
|
18
|
+
def first_pair(h)
|
19
|
+
h.each_pair.next
|
20
|
+
end
|
21
|
+
|
22
|
+
# Given `{"a" => "b"}`, returns ["a", "b"].
|
23
|
+
# Given `"a"`, returns ["a", {}]
|
24
|
+
def asplode(node)
|
25
|
+
type = nil
|
26
|
+
spec = {}
|
27
|
+
|
28
|
+
case node
|
29
|
+
when Hash
|
30
|
+
type, spec = first_pair(node)
|
31
|
+
when String
|
32
|
+
type = node
|
33
|
+
else
|
34
|
+
raise "Invalid markup: #{node.inspect}"
|
35
|
+
end
|
36
|
+
|
37
|
+
return type, spec
|
38
|
+
end
|
39
|
+
|
40
|
+
# Make sure something is an array
|
41
|
+
def toa (input)
|
42
|
+
case input
|
43
|
+
when Array
|
44
|
+
return input
|
45
|
+
when nil
|
46
|
+
return []
|
47
|
+
else
|
48
|
+
return [input]
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# Make sure something is a hash
|
53
|
+
def toh (input)
|
54
|
+
case input
|
55
|
+
when Hash
|
56
|
+
return input
|
57
|
+
when nil
|
58
|
+
return {}
|
59
|
+
else
|
60
|
+
raise "Can't toh {input.inspect}"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Give a default to a boolean parameter
|
65
|
+
# (val || default) doesn't work because val
|
66
|
+
# may be false instead of nil
|
67
|
+
def boolp (val, default)
|
68
|
+
if val.nil?
|
69
|
+
default
|
70
|
+
else
|
71
|
+
val
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
require "builder/xmlbase"
|
78
|
+
|
79
|
+
module Builder
|
80
|
+
class XmlBase
|
81
|
+
# expose private method '_indent' for our 'raw' implementation
|
82
|
+
def indent!
|
83
|
+
_indent
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
@@ -0,0 +1,302 @@
|
|
1
|
+
|
2
|
+
require "cigale/property"
|
3
|
+
require "cigale/parameter"
|
4
|
+
require "cigale/wrapper"
|
5
|
+
require "cigale/scm"
|
6
|
+
require "cigale/builder"
|
7
|
+
require "cigale/publisher"
|
8
|
+
require "cigale/trigger"
|
9
|
+
|
10
|
+
include Cigale::Property
|
11
|
+
include Cigale::Parameter
|
12
|
+
include Cigale::Wrapper
|
13
|
+
include Cigale::SCM
|
14
|
+
include Cigale::Builder
|
15
|
+
include Cigale::Publisher
|
16
|
+
include Cigale::Trigger
|
17
|
+
|
18
|
+
module Cigale
|
19
|
+
module Generator
|
20
|
+
def translate_job (xml, jdef)
|
21
|
+
@numjobs += 1
|
22
|
+
|
23
|
+
type = jdef["project-type"]
|
24
|
+
testcat = @opts[:test_category]
|
25
|
+
|
26
|
+
project = case type
|
27
|
+
when "matrix"
|
28
|
+
"matrix-project"
|
29
|
+
when "maven"
|
30
|
+
"maven2-moduleset"
|
31
|
+
when "flow"
|
32
|
+
"com.cloudbees.plugins.flow.BuildFlow"
|
33
|
+
when "multijob"
|
34
|
+
"com.tikal.jenkins.plugins.multijob.MultiJobProject"
|
35
|
+
when "externaljob"
|
36
|
+
"hudson.model.ExternalJob"
|
37
|
+
else
|
38
|
+
"project"
|
39
|
+
end
|
40
|
+
|
41
|
+
xml.tag! project do
|
42
|
+
case type
|
43
|
+
when "matrix"
|
44
|
+
translate_matrix_project xml, jdef
|
45
|
+
when "maven"
|
46
|
+
translate_maven_moduleset xml, jdef
|
47
|
+
when "flow"
|
48
|
+
translate_flow_project xml, jdef
|
49
|
+
end # case project
|
50
|
+
|
51
|
+
if testcat.nil? || testcat == "general"
|
52
|
+
xml.actions
|
53
|
+
if testcat.nil?
|
54
|
+
if @opts[:masquerade]
|
55
|
+
# to let tests pass
|
56
|
+
xml.description "<!-- Managed by Jenkins Job Builder -->"
|
57
|
+
else
|
58
|
+
xml.description "<!-- Managed by cigale -->"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
xml.keepDependencies false
|
62
|
+
xml.blockBuildWhenDownstreamBuilding false
|
63
|
+
xml.blockBuildWhenUpstreamBuilding false
|
64
|
+
xml.concurrentBuild false
|
65
|
+
if val = jdef["workspace"]
|
66
|
+
xml.customWorkspace val
|
67
|
+
end
|
68
|
+
if val = jdef["child-workspace"] and type == "matrix"
|
69
|
+
xml.childCustomWorkspace val
|
70
|
+
end
|
71
|
+
|
72
|
+
if node = jdef["node"]
|
73
|
+
xml.assignedNode node
|
74
|
+
xml.canRoam false
|
75
|
+
else
|
76
|
+
xml.canRoam true
|
77
|
+
end
|
78
|
+
|
79
|
+
if retcount = jdef["retry-count"]
|
80
|
+
xml.scmCheckoutRetryCount retcount
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
if testcat.nil? || testcat == "properties" || testcat == "parameters"
|
85
|
+
translate_properties xml, jdef
|
86
|
+
end
|
87
|
+
|
88
|
+
if testcat.nil? || testcat == "scm"
|
89
|
+
translate_scms xml, jdef["scm"]
|
90
|
+
end
|
91
|
+
|
92
|
+
if testcat.nil? || testcat == "triggers"
|
93
|
+
tok = jdef["token"] and xml.authToken tok
|
94
|
+
translate_triggers xml, jdef["triggers"]
|
95
|
+
end
|
96
|
+
|
97
|
+
if testcat.nil? || testcat == "builders"
|
98
|
+
if post = jdef["postbuilders"]
|
99
|
+
translate_builders xml, "postbuilders", jdef["postbuilders"]
|
100
|
+
end
|
101
|
+
translate_builders xml, "builders", jdef["builders"]
|
102
|
+
end
|
103
|
+
|
104
|
+
if testcat.nil? || testcat == "publishers"
|
105
|
+
translate_publishers xml, "publishers", jdef["publishers"]
|
106
|
+
end
|
107
|
+
|
108
|
+
if testcat.nil? || testcat == "wrappers"
|
109
|
+
translate_wrappers xml, jdef["wrappers"]
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end # translate
|
113
|
+
|
114
|
+
# kind = 'property', 'parameter', 'builder'
|
115
|
+
# type = 'scmpoll', 'github', etc.
|
116
|
+
def translate (kind, xml, type, spec)
|
117
|
+
if type == "raw"
|
118
|
+
return insert_raw xml, spec
|
119
|
+
end
|
120
|
+
|
121
|
+
classes = self.send "#{kind}_classes"
|
122
|
+
clazz = classes[type]
|
123
|
+
raise "Unknown #{kind} type: #{type}" unless clazz
|
124
|
+
|
125
|
+
method = method_for_translate(kind, type)
|
126
|
+
|
127
|
+
case clazz
|
128
|
+
when String
|
129
|
+
xml.tag! clazz do
|
130
|
+
self.send method, xml, spec
|
131
|
+
end
|
132
|
+
when Array
|
133
|
+
xml.tag! *clazz do
|
134
|
+
self.send method, xml, spec
|
135
|
+
end
|
136
|
+
else
|
137
|
+
self.send method, xml, spec
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
def method_for_translate (kind, type)
|
142
|
+
"translate_#{underize(type)}_#{kind}"
|
143
|
+
end
|
144
|
+
|
145
|
+
def insert_raw (xml, spec)
|
146
|
+
for l in spec["xml"].split("\n")
|
147
|
+
xml.indent!
|
148
|
+
xml << l + "\n"
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
def translate_matrix_project (xml, jdef)
|
153
|
+
exstrat = jdef["execution-strategy"] || {}
|
154
|
+
xml.executionStrategy :class => "hudson.matrix.DefaultMatrixExecutionStrategyImpl" do
|
155
|
+
xml.runSequentially boolp(exstrat["sequential"], false)
|
156
|
+
|
157
|
+
if touchstone = exstrat["touchstone"]
|
158
|
+
xml.touchStoneCombinationFilter touchstone["expr"]
|
159
|
+
xml.touchStoneResultCondition do
|
160
|
+
translate_build_status xml, touchstone["result"].upcase, false
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
|
166
|
+
if combfil = exstrat["combination-filter"]
|
167
|
+
xml.combinationFilter combfil.strip
|
168
|
+
else
|
169
|
+
xml.combinationFilter
|
170
|
+
end
|
171
|
+
|
172
|
+
if axes = jdef["axes"]
|
173
|
+
xml.axes do
|
174
|
+
for a in axes
|
175
|
+
axis = a.values.first
|
176
|
+
|
177
|
+
name = axis["name"]
|
178
|
+
|
179
|
+
clazz = case axis["type"]
|
180
|
+
when "label-expression"
|
181
|
+
"hudson.matrix.LabelExpAxis"
|
182
|
+
when "slave"
|
183
|
+
"hudson.matrix.LabelAxis"
|
184
|
+
when "user-defined"
|
185
|
+
"hudson.matrix.TextAxis"
|
186
|
+
when "jdk"
|
187
|
+
name ||= "jdk"
|
188
|
+
"hudson.matrix.JDKAxis"
|
189
|
+
when "python"
|
190
|
+
name ||= "PYTHON"
|
191
|
+
"jenkins.plugins.shiningpanda.matrix.PythonAxis"
|
192
|
+
when "tox"
|
193
|
+
name ||= "TOXENV"
|
194
|
+
"jenkins.plugins.shiningpanda.matrix.ToxAxis"
|
195
|
+
when "dynamic"
|
196
|
+
"ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis"
|
197
|
+
else
|
198
|
+
raise "Unknown axis type: #{axis["type"]}"
|
199
|
+
end
|
200
|
+
|
201
|
+
xml.tag! clazz do
|
202
|
+
xml.name name
|
203
|
+
xml.values do
|
204
|
+
for v in axis["values"]
|
205
|
+
xml.string v
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
case axis["type"]
|
210
|
+
when "dynamic"
|
211
|
+
xml.varName axis["values"].first
|
212
|
+
xml.axisValues do
|
213
|
+
xml.string "default"
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
end # for a in axes
|
218
|
+
end
|
219
|
+
else
|
220
|
+
xml.axes
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
def translate_maven_moduleset (xml, jdef)
|
225
|
+
mav = jdef["maven"]
|
226
|
+
return unless mav
|
227
|
+
|
228
|
+
if rootmod = mav["root-module"]
|
229
|
+
xml.rootModule do
|
230
|
+
xml.groupId rootmod["group-id"]
|
231
|
+
xml.artifactId rootmod["artifact-id"]
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
xml.goals mav["goals"]
|
236
|
+
if mav["private-repository"]
|
237
|
+
xml.localRepository :class => "hudson.maven.local_repo.PerJobLocalRepositoryLocator"
|
238
|
+
end
|
239
|
+
xml.ignoreUpstremChanges true # sic.
|
240
|
+
xml.rootPOM mav["root-pom"]
|
241
|
+
|
242
|
+
if mav["incremental-build"]
|
243
|
+
xml.aggregatorStyleBuild false
|
244
|
+
xml.incrementalBuild true
|
245
|
+
else
|
246
|
+
xml.aggregatorStyleBuild true
|
247
|
+
xml.incrementalBuild false
|
248
|
+
end
|
249
|
+
|
250
|
+
xml.siteArchivingDisabled !boolp(mav["automatic-site-archiving"], true)
|
251
|
+
xml.fingerprintingDisabled false
|
252
|
+
xml.perModuleEmail true
|
253
|
+
xml.archivingDisabled !boolp(mav["automatic-archiving"], true)
|
254
|
+
xml.resolveDependencies !!mav["resolve-dependencies"]
|
255
|
+
xml.processPlugins !!mav["process-plugins"]
|
256
|
+
xml.mavenValidationLevel -1
|
257
|
+
xml.runHeadless !!mav["run-headless"]
|
258
|
+
if mavcw = mav["custom-workspace"]
|
259
|
+
xml.customWorkspace mavcw
|
260
|
+
end
|
261
|
+
|
262
|
+
if mset = mav["settings"]
|
263
|
+
if mset.start_with? "org.jenkinsci"
|
264
|
+
xml.settings :class => "org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider" do
|
265
|
+
xml.settingsConfigId mset
|
266
|
+
end
|
267
|
+
else
|
268
|
+
xml.settings :class => "jenkins.mvn.FilePathSettingsProvider" do
|
269
|
+
xml.path mset
|
270
|
+
end
|
271
|
+
end
|
272
|
+
else
|
273
|
+
xml.settings :class => "jenkins.mvn.DefaultSettingsProvider"
|
274
|
+
end
|
275
|
+
|
276
|
+
if mgset = mav["global-settings"]
|
277
|
+
if mgset.start_with? "org.jenkinsci"
|
278
|
+
xml.globalSettings :class => "org.jenkinsci.plugins.configfiles.maven.job.MvnGlobalSettingsProvider" do
|
279
|
+
xml.settingsConfigId mgset
|
280
|
+
end
|
281
|
+
else
|
282
|
+
xml.globalSettings :class => "jenkins.mvn.FilePathGlobalSettingsProvider" do
|
283
|
+
xml.path mgset
|
284
|
+
end
|
285
|
+
end
|
286
|
+
else
|
287
|
+
xml.globalSettings :class => "jenkins.mvn.DefaultGlobalSettingsProvider"
|
288
|
+
end
|
289
|
+
|
290
|
+
xml.runPostStepsIfResult do
|
291
|
+
status = mav["post-step-run-condition"] || "FAILURE"
|
292
|
+
translate_build_status xml, status, false
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
def translate_flow_project (xml, jdef)
|
297
|
+
xml.dsl
|
298
|
+
xml.buildNeedsWorkspace false
|
299
|
+
end
|
300
|
+
|
301
|
+
end # Generator
|
302
|
+
end # Cigale
|
@@ -0,0 +1,103 @@
|
|
1
|
+
|
2
|
+
require "cigale/exts"
|
3
|
+
|
4
|
+
module Cigale
|
5
|
+
class MacroContext < Exts
|
6
|
+
def initialize (options)
|
7
|
+
@library = options[:library]
|
8
|
+
@params = options[:params]
|
9
|
+
@had_expansions = false
|
10
|
+
end
|
11
|
+
|
12
|
+
# get a macro
|
13
|
+
def lookup (macro_name)
|
14
|
+
mdef = @library[macro_name]
|
15
|
+
raise "Undefined macro: #{macro_name} — got #{@library.keys.inspect}" unless mdef
|
16
|
+
mdef
|
17
|
+
end
|
18
|
+
|
19
|
+
# walk tree, expand macros we find
|
20
|
+
def expand (entity)
|
21
|
+
case entity
|
22
|
+
when Array
|
23
|
+
# list of things, need to expand each individually
|
24
|
+
entity.map do |x|
|
25
|
+
expand(x)
|
26
|
+
end
|
27
|
+
when Hash
|
28
|
+
entity.map do |k, v|
|
29
|
+
case k
|
30
|
+
when /^\.(.*)$/
|
31
|
+
# macro call
|
32
|
+
if expanding?
|
33
|
+
# keep child macro as-is for later expansion
|
34
|
+
[k, expand(v)]
|
35
|
+
else
|
36
|
+
mdef = lookup($1)
|
37
|
+
|
38
|
+
res = self.with_params(v).expand(mdef)
|
39
|
+
case res
|
40
|
+
when Hash
|
41
|
+
first_pair(res)
|
42
|
+
when String, Array
|
43
|
+
return res
|
44
|
+
else
|
45
|
+
raise "Invalid macro expansion result: #{res.inspect}"
|
46
|
+
end
|
47
|
+
end
|
48
|
+
else
|
49
|
+
[k, expand(v)]
|
50
|
+
end
|
51
|
+
end.to_h
|
52
|
+
else
|
53
|
+
# not a list, not a hash
|
54
|
+
interpolate(entity)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# given "{name}"
|
59
|
+
def interpolate (entity)
|
60
|
+
return entity unless expanding?
|
61
|
+
|
62
|
+
case entity
|
63
|
+
when /^{([a-zA-Z0-9*\. -]*)}$/
|
64
|
+
# just paste param verbatim — could be a string,
|
65
|
+
# could be a hash, a list, whatever, just jam it in there.
|
66
|
+
get_param($1)
|
67
|
+
when String
|
68
|
+
entity.gsub /{([a-zA-Z0-9*\. -]*)}/ do |m|
|
69
|
+
get_param($1)
|
70
|
+
end
|
71
|
+
else
|
72
|
+
entity
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def get_param (spec)
|
77
|
+
raise "Found param {#{spec}} outside expansion" unless expanding?
|
78
|
+
|
79
|
+
name, type = spec.split(" ")
|
80
|
+
if name == '*'
|
81
|
+
return @params
|
82
|
+
end
|
83
|
+
|
84
|
+
res = dig(@params, name)
|
85
|
+
raise "Unspecified param {#{name}}" if res.nil?
|
86
|
+
res
|
87
|
+
end
|
88
|
+
|
89
|
+
def with_params (params)
|
90
|
+
raise "Can't expand while expanding" if expanding?
|
91
|
+
@had_expansions = true
|
92
|
+
MacroContext.new(:library => @library, :params => params)
|
93
|
+
end
|
94
|
+
|
95
|
+
def had_expansions?
|
96
|
+
@had_expansions
|
97
|
+
end
|
98
|
+
|
99
|
+
def expanding?
|
100
|
+
not @params.nil?
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Cigale::Parameter
|
2
|
+
def translate_bool_parameter (xml, pdef)
|
3
|
+
xml.name pdef["name"]
|
4
|
+
xml.description pdef["description"]
|
5
|
+
default = pdef["default"]
|
6
|
+
if default.nil? || default == ''
|
7
|
+
xml.defaultValue
|
8
|
+
else
|
9
|
+
xml.defaultValue default
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|