diff options
Diffstat (limited to 'django/validationmanager/templates/imagescanner_job_config.xml')
-rw-r--r-- | django/validationmanager/templates/imagescanner_job_config.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/django/validationmanager/templates/imagescanner_job_config.xml b/django/validationmanager/templates/imagescanner_job_config.xml new file mode 100644 index 0000000..19d5eb5 --- /dev/null +++ b/django/validationmanager/templates/imagescanner_job_config.xml @@ -0,0 +1,54 @@ +<?xml version='1.0' encoding='UTF-8'?> +<project> + <actions/> + <description>Handler for ImageScanner results</description> + <keepDependencies>false</keepDependencies> + <properties> + <com.tikal.hudson.plugins.notification.HudsonNotificationProperty plugin="notification@1.11"> + <endpoints> + <com.tikal.hudson.plugins.notification.Endpoint> + <protocol>HTTP</protocol> + <format>JSON</format> + <url>{{ notification_endpoint }}</url> + <event>finalized</event> + <timeout>30000</timeout> + <loglines>-1</loglines> + </com.tikal.hudson.plugins.notification.Endpoint> + </endpoints> + </com.tikal.hudson.plugins.notification.HudsonNotificationProperty> + <hudson.model.ParametersDefinitionProperty> + <parameterDefinitions> + <hudson.model.StringParameterDefinition> + <name>checklist_uuid</name> + <description>The UUID of the checklist to be validated.</description> + <defaultValue></defaultValue> + </hudson.model.StringParameterDefinition> + <hudson.model.StringParameterDefinition> + <name>status</name> + <description>The UNIX exit status of the scanner (0=success)</description> + <defaultValue></defaultValue> + </hudson.model.StringParameterDefinition> + <hudson.model.StringParameterDefinition> + <name>logurl</name> + <description>A URL to the imagescanner log file, which will be retrieved and parsed</description> + <defaultValue></defaultValue> + </hudson.model.StringParameterDefinition> + </parameterDefinitions> + </hudson.model.ParametersDefinitionProperty> + </properties> + <scm class="hudson.scm.NullSCM"/> + <canRoam>true</canRoam> + <disabled>false</disabled> + <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> + <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> + <triggers/> + <concurrentBuild>false</concurrentBuild> + <builders> + <hudson.tasks.Shell> + <command><![CDATA[#!/bin/sh +exec imagescanner-results-processor]]></command> + </hudson.tasks.Shell> + </builders> + <publishers/> + <buildWrappers/> +</project> |