~1chb1n/ubuntu-openstack-ci/series-cosmic

« back to all changes in this revision

Viewing changes to deployment/jobs/charm_pusher_neutron-api_master/config.xml

  • Committer: Ryan Beisner
  • Date: 2017-04-05 11:51:52 UTC
  • Revision ID: ryan.beisner@canonical.com-20170405115152-xjfhbn6pcybx2jte
Pull jobs into branch to preserve any legacy job changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?><project>
 
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<project>
2
3
  <actions/>
3
4
  <description>&lt;p&gt;Watch for git commits and kick off charmstore charm upload/release paths.&lt;/p&gt;
4
5
&lt;p&gt;&lt;i&gt;Dynamically Generated Job - Do not edit through the Jenkins Web UI.  You will lose your changes.&lt;/i&gt;&lt;/p&gt;
5
6
&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
6
7
  <keepDependencies>false</keepDependencies>
7
 
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
8
 
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
9
 
  <concurrentBuild>false</concurrentBuild>
10
 
  <assignedNode>slave</assignedNode>
11
 
  <canRoam>false</canRoam>
12
8
  <properties>
13
9
    <hudson.model.ParametersDefinitionProperty>
14
10
      <parameterDefinitions>
30
26
        <hudson.model.StringParameterDefinition>
31
27
          <name>DISPLAY_NAME</name>
32
28
          <description>Optional string to add to the Build Name of the job.</description>
33
 
          <defaultValue/>
 
29
          <defaultValue></defaultValue>
34
30
        </hudson.model.StringParameterDefinition>
35
31
      </parameterDefinitions>
36
32
    </hudson.model.ParametersDefinitionProperty>
 
33
    <org.jvnet.hudson.plugins.shelveproject.ShelveProjectProperty plugin="shelve-project-plugin@1.5"/>
37
34
  </properties>
38
 
  <scm class="hudson.plugins.git.GitSCM">
 
35
  <scm class="hudson.plugins.git.GitSCM" plugin="git@2.5.3">
39
36
    <configVersion>2</configVersion>
40
37
    <userRemoteConfigs>
41
38
      <hudson.plugins.git.UserRemoteConfig>
49
46
        <name>master</name>
50
47
      </hudson.plugins.git.BranchSpec>
51
48
    </branches>
52
 
    <excludedUsers/>
53
 
    <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
54
 
    <disableSubmodules>false</disableSubmodules>
55
 
    <recursiveSubmodules>false</recursiveSubmodules>
56
49
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
57
 
    <authorOrCommitter>false</authorOrCommitter>
58
 
    <wipeOutWorkspace>true</wipeOutWorkspace>
59
 
    <pruneBranches>false</pruneBranches>
60
 
    <remotePoll>true</remotePoll>
61
50
    <gitTool>Default</gitTool>
62
51
    <submoduleCfg class="list"/>
63
 
    <relativeTargetDir>neutron-api</relativeTargetDir>
64
 
    <reference/>
65
 
    <gitConfigName/>
66
 
    <gitConfigEmail/>
67
 
    <skipTag>true</skipTag>
68
 
    <scmName/>
69
 
    <useShallowClone>true</useShallowClone>
70
 
    <ignoreNotifyCommit>false</ignoreNotifyCommit>
71
52
    <extensions>
72
53
      <hudson.plugins.git.extensions.impl.CleanBeforeCheckout/>
73
54
      <hudson.plugins.git.extensions.impl.WipeWorkspace/>
 
55
      <hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
 
56
        <relativeTargetDir>neutron-api</relativeTargetDir>
 
57
      </hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
 
58
      <hudson.plugins.git.extensions.impl.CloneOption>
 
59
        <shallow>true</shallow>
 
60
        <noTags>false</noTags>
 
61
        <reference></reference>
 
62
        <depth>1</depth>
 
63
        <honorRefspec>false</honorRefspec>
 
64
      </hudson.plugins.git.extensions.impl.CloneOption>
74
65
    </extensions>
75
66
  </scm>
76
 
  <triggers class="vector">
 
67
  <assignedNode>slave</assignedNode>
 
68
  <canRoam>false</canRoam>
 
69
  <disabled>false</disabled>
 
70
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
 
71
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
 
72
  <triggers>
77
73
    <hudson.triggers.SCMTrigger>
78
74
      <spec>H/10 * * * *</spec>
79
75
      <ignorePostCommitHooks>true</ignorePostCommitHooks>
80
76
    </hudson.triggers.SCMTrigger>
81
77
  </triggers>
 
78
  <concurrentBuild>false</concurrentBuild>
82
79
  <builders>
83
80
    <hudson.tasks.Shell>
84
81
      <command>#!/bin/bash -e
85
82
# Ensure we have a checkout of UOSCI code
86
83
if [[ ! -f $OSCI_ROOT/job-parts/osci_job_common.sh ]]; then
87
 
  echo " - Removing checkout @ $OSCI_ROOT if it exists"
 
84
  echo &quot; - Removing checkout @ $OSCI_ROOT if it exists&quot;
88
85
  rm -rf $OSCI_ROOT ||:
89
 
  echo " + Creating new lightweight checkout of $OSCI_REPO @ $OSCI_ROOT."
 
86
  echo &quot; + Creating new lightweight checkout of $OSCI_REPO @ $OSCI_ROOT.&quot;
90
87
  bzr co --lightweight $OSCI_REPO $OSCI_ROOT
91
 
  echo "revno: $(bzr revno $OSCI_ROOT)"
 
88
  echo &quot;revno: $(bzr revno $OSCI_ROOT)&quot;
92
89
fi
93
90
</command>
94
91
    </hudson.tasks.Shell>
101
98
  <publishers>
102
99
    <hudson.tasks.ArtifactArchiver>
103
100
      <artifacts>*, logs/*</artifacts>
104
 
      <latestOnly>false</latestOnly>
105
101
      <allowEmptyArchive>true</allowEmptyArchive>
 
102
      <onlyIfSuccessful>false</onlyIfSuccessful>
106
103
      <fingerprint>true</fingerprint>
107
104
      <defaultExcludes>true</defaultExcludes>
 
105
      <caseSensitive>true</caseSensitive>
108
106
    </hudson.tasks.ArtifactArchiver>
109
 
    <hudson.plugins.emailext.ExtendedEmailPublisher>
 
107
    <hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.47">
110
108
      <recipientList>openstack-charm-ci-watchers@lists.launchpad.net</recipientList>
111
109
      <configuredTriggers>
112
110
        <hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
113
111
          <email>
114
 
            <recipientList/>
 
112
            <recipientList></recipientList>
115
113
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
116
114
            <body>$PROJECT_DEFAULT_CONTENT</body>
117
 
            <sendToRequester>false</sendToRequester>
118
 
            <sendToDevelopers>false</sendToDevelopers>
119
 
            <includeCulprits>false</includeCulprits>
120
 
            <sendToRecipientList>true</sendToRecipientList>
 
115
            <recipientProviders>
 
116
              <hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
 
117
            </recipientProviders>
 
118
            <attachBuildLog>false</attachBuildLog>
 
119
            <compressBuildLog>false</compressBuildLog>
121
120
          </email>
122
121
        </hudson.plugins.emailext.plugins.trigger.SuccessTrigger>
123
122
      </configuredTriggers>
124
123
      <contentType>text/plain</contentType>
125
124
      <defaultSubject>[UOSCI] $DEFAULT_SUBJECT</defaultSubject>
126
125
      <defaultContent>$DEFAULT_SUBJECT
127
 
${ENV,var="BASE_NAME"} ${ENV,var="DISPLAY_NAME"}
 
126
${ENV,var=&quot;BASE_NAME&quot;} ${ENV,var=&quot;DISPLAY_NAME&quot;}
128
127
${GIT_URL} (${GIT_BRANCH})
129
128
${GIT_COMMIT}
130
129
 
131
130
Charm store refs pushed and released:
132
 
${FILE,path="cs_refs_released.txt"}
 
131
${FILE,path=&quot;cs_refs_released.txt&quot;}
133
132
</defaultContent>
134
133
      <attachmentsPattern>cs_refs_released.txt</attachmentsPattern>
135
134
      <presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
136
135
      <attachBuildLog>false</attachBuildLog>
 
136
      <compressBuildLog>false</compressBuildLog>
 
137
      <replyTo>$DEFAULT_REPLYTO</replyTo>
137
138
      <saveOutput>false</saveOutput>
138
139
      <disabled>false</disabled>
139
 
      <replyTo>$DEFAULT_REPLYTO</replyTo>
140
140
    </hudson.plugins.emailext.ExtendedEmailPublisher>
141
141
  </publishers>
142
142
  <buildWrappers/>