{"action":"created","issue":{"url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker/issues/16","repository_url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker","labels_url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker/issues/16/comments","events_url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker/issues/16/events","html_url":"https://github.com/ktdreyer/jenkins-job-wrecker/issues/16","id":139915785,"number":16,"title":"cannot handle XML","user":{"login":"cdenneen","id":720097,"avatar_url":"https://avatars.githubusercontent.com/u/720097?v=3","gravatar_id":"","url":"https://api.github.com/users/cdenneen","html_url":"https://github.com/cdenneen","followers_url":"https://api.github.com/users/cdenneen/followers","following_url":"https://api.github.com/users/cdenneen/following{/other_user}","gists_url":"https://api.github.com/users/cdenneen/gists{/gist_id}","starred_url":"https://api.github.com/users/cdenneen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdenneen/subscriptions","organizations_url":"https://api.github.com/users/cdenneen/orgs","repos_url":"https://api.github.com/users/cdenneen/repos","events_url":"https://api.github.com/users/cdenneen/events{/privacy}","received_events_url":"https://api.github.com/users/cdenneen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T15:09:21Z","updated_at":"2016-03-11T04:41:56Z","closed_at":null,"body":"```\r\n# jjwrecker -f /var/lib/jenkins/jobs/test/config.xml -n \"test\"\r\ncannot handle XML org.jenkinsci.plugins.gitlablogo.GitlabLogoProperty\r\nlast called handle_triggers\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/jjwrecker\", line 9, in <module>\r\n    load_entry_point('jenkins-job-wrecker==1.0.6', 'console_scripts', 'jjwrecker')()\r\n  File \"/usr/lib/python2.7/site-packages/jenkins_job_wrecker/cli.py\", line 179, in main\r\n    yaml = root_to_yaml(root, args.name)\r\n  File \"/usr/lib/python2.7/site-packages/jenkins_job_wrecker/cli.py\", line 75, in root_to_yaml\r\n    settings = handler(child)\r\n  File \"/usr/lib/python2.7/site-packages/jenkins_job_wrecker/job_handlers.py\", line 540, in handle_triggers\r\n    raise NotImplementedError(\"cannot handle XML %s\" % child.tag)\r\nNotImplementedError: cannot handle XML com.dabsquared.gitlabjenkins.GitLabPushTrigger\r\n```\r\n\r\n```xml\r\n<?xml version='1.0' encoding='UTF-8'?>\r\n<project>\r\n  <actions/>\r\n  <description></description>\r\n  <keepDependencies>false</keepDependencies>\r\n  <properties>\r\n    <org.jenkinsci.plugins.gitlablogo.GitlabLogoProperty plugin=\"gitlab-logo@1.0.1\">\r\n      <repositoryName></repositoryName>\r\n    </org.jenkinsci.plugins.gitlablogo.GitlabLogoProperty>\r\n    <jenkins.plugins.slack.SlackNotifier_-SlackJobProperty plugin=\"slack@1.8.1\">\r\n      <teamDomain></teamDomain>\r\n      <token></token>\r\n      <room></room>\r\n      <startNotification>false</startNotification>\r\n      <notifySuccess>false</notifySuccess>\r\n      <notifyAborted>false</notifyAborted>\r\n      <notifyNotBuilt>false</notifyNotBuilt>\r\n      <notifyUnstable>false</notifyUnstable>\r\n      <notifyFailure>false</notifyFailure>\r\n      <notifyBackToNormal>false</notifyBackToNormal>\r\n      <notifyRepeatedFailure>false</notifyRepeatedFailure>\r\n      <includeTestSummary>false</includeTestSummary>\r\n      <showCommitList>false</showCommitList>\r\n      <includeCustomMessage>false</includeCustomMessage>\r\n      <customMessage></customMessage>\r\n    </jenkins.plugins.slack.SlackNotifier_-SlackJobProperty>\r\n  </properties>\r\n  <scm class=\"hudson.plugins.git.GitSCM\" plugin=\"git@2.4.1\">\r\n    <configVersion>2</configVersion>\r\n    <userRemoteConfigs>\r\n      <hudson.plugins.git.UserRemoteConfig>\r\n        <url>https://gitlab.domain.git/puppet/puppet-module.git</url>\r\n      </hudson.plugins.git.UserRemoteConfig>\r\n    </userRemoteConfigs>\r\n    <branches>\r\n      <hudson.plugins.git.BranchSpec>\r\n        <name>*/master</name>\r\n      </hudson.plugins.git.BranchSpec>\r\n    </branches>\r\n    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>\r\n    <submoduleCfg class=\"list\"/>\r\n    <extensions/>\r\n  </scm>\r\n  <canRoam>true</canRoam>\r\n  <disabled>false</disabled>\r\n  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>\r\n  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>\r\n  <triggers>\r\n    <com.dabsquared.gitlabjenkins.GitLabPushTrigger plugin=\"gitlab-plugin@1.1.28\">\r\n      <spec></spec>\r\n      <triggerOnPush>true</triggerOnPush>\r\n      <triggerOnMergeRequest>true</triggerOnMergeRequest>\r\n      <triggerOpenMergeRequestOnPush>both</triggerOpenMergeRequestOnPush>\r\n      <ciSkip>true</ciSkip>\r\n      <setBuildDescription>true</setBuildDescription>\r\n      <addNoteOnMergeRequest>true</addNoteOnMergeRequest>\r\n      <addCiMessage>true</addCiMessage>\r\n      <addVoteOnMergeRequest>true</addVoteOnMergeRequest>\r\n      <allowAllBranches>false</allowAllBranches>\r\n      <includeBranchesSpec></includeBranchesSpec>\r\n      <excludeBranchesSpec></excludeBranchesSpec>\r\n      <acceptMergeRequestOnSuccess>false</acceptMergeRequestOnSuccess>\r\n    </com.dabsquared.gitlabjenkins.GitLabPushTrigger>\r\n  </triggers>\r\n  <concurrentBuild>false</concurrentBuild>\r\n  <builders/>\r\n  <publishers>\r\n    <hudson.plugins.warnings.WarningsPublisher plugin=\"warnings@4.52\">\r\n      <healthy></healthy>\r\n      <unHealthy></unHealthy>\r\n      <thresholdLimit>low</thresholdLimit>\r\n      <pluginName>[WARNINGS] </pluginName>\r\n      <defaultEncoding></defaultEncoding>\r\n      <canRunOnFailed>false</canRunOnFailed>\r\n      <usePreviousBuildAsReference>false</usePreviousBuildAsReference>\r\n      <useStableBuildAsReference>false</useStableBuildAsReference>\r\n      <useDeltaValues>false</useDeltaValues>\r\n      <thresholds plugin=\"analysis-core@1.76\">\r\n        <unstableTotalAll></unstableTotalAll>\r\n        <unstableTotalHigh></unstableTotalHigh>\r\n        <unstableTotalNormal></unstableTotalNormal>\r\n        <unstableTotalLow></unstableTotalLow>\r\n        <unstableNewAll></unstableNewAll>\r\n        <unstableNewHigh></unstableNewHigh>\r\n        <unstableNewNormal></unstableNewNormal>\r\n        <unstableNewLow></unstableNewLow>\r\n        <failedTotalAll></failedTotalAll>\r\n        <failedTotalHigh></failedTotalHigh>\r\n        <failedTotalNormal></failedTotalNormal>\r\n        <failedTotalLow></failedTotalLow>\r\n        <failedNewAll></failedNewAll>\r\n        <failedNewHigh></failedNewHigh>\r\n        <failedNewNormal></failedNewNormal>\r\n        <failedNewLow></failedNewLow>\r\n      </thresholds>\r\n      <shouldDetectModules>false</shouldDetectModules>\r\n      <dontComputeNew>true</dontComputeNew>\r\n      <doNotResolveRelativePaths>true</doNotResolveRelativePaths>\r\n      <includePattern></includePattern>\r\n      <excludePattern></excludePattern>\r\n      <messagesPattern></messagesPattern>\r\n      <parserConfigurations/>\r\n      <consoleParsers>\r\n        <hudson.plugins.warnings.ConsoleParser>\r\n          <parserName>Puppet-Lint</parserName>\r\n        </hudson.plugins.warnings.ConsoleParser>\r\n      </consoleParsers>\r\n    </hudson.plugins.warnings.WarningsPublisher>\r\n  </publishers>\r\n  <buildWrappers/>\r\n</project>\r\n```"},"comment":{"url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker/issues/comments/195180427","html_url":"https://github.com/ktdreyer/jenkins-job-wrecker/issues/16#issuecomment-195180427","issue_url":"https://api.github.com/repos/ktdreyer/jenkins-job-wrecker/issues/16","id":195180427,"user":{"login":"ktdreyer","id":620295,"avatar_url":"https://avatars.githubusercontent.com/u/620295?v=3","gravatar_id":"","url":"https://api.github.com/users/ktdreyer","html_url":"https://github.com/ktdreyer","followers_url":"https://api.github.com/users/ktdreyer/followers","following_url":"https://api.github.com/users/ktdreyer/following{/other_user}","gists_url":"https://api.github.com/users/ktdreyer/gists{/gist_id}","starred_url":"https://api.github.com/users/ktdreyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktdreyer/subscriptions","organizations_url":"https://api.github.com/users/ktdreyer/orgs","repos_url":"https://api.github.com/users/ktdreyer/repos","events_url":"https://api.github.com/users/ktdreyer/events{/privacy}","received_events_url":"https://api.github.com/users/ktdreyer/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T04:41:56Z","updated_at":"2016-03-11T04:41:56Z","body":"I think that's a really great idea to just write out the XML for stanzas that JJW cannot translate to YAML. I'd happily merge a pull request that does that!"}}