forked from prometheus/collectd_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.xml
More file actions
98 lines (95 loc) · 4.13 KB
/
config.xml
File metadata and controls
98 lines (95 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version='1.0' encoding='UTF-8'?>
<flow-definition plugin="workflow-job@2.9">
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>-1</daysToKeep>
<numToKeep>10</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.StringParameterDefinition>
<name>GitRepoUrl</name>
<description>Git repository URL</description>
<defaultValue>https://github.com/dev9com/collectd_exporter.git</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>Branch</name>
<description>branch to build</description>
<defaultValue>issue-49</defaultValue>
</hudson.model.StringParameterDefinition>
<hudson.model.StringParameterDefinition>
<name>GoLangVersion</name>
<description>Go version</description>
<defaultValue>golang:1.7.4</defaultValue>
</hudson.model.StringParameterDefinition>
<com.cloudbees.plugins.credentials.CredentialsParameterDefinition plugin="credentials@2.1.10">
<name>GitRepoCredentialId</name>
<description>git credential to access repository</description>
<!-- TODO replace with actual credentials id configured on Jenkins -->
<defaultValue>github_XXX</defaultValue>
<credentialType>com.cloudbees.plugins.credentials.impl.UsernamePasswordCredentialsImpl</credentialType>
<required>true</required>
</com.cloudbees.plugins.credentials.CredentialsParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>GOOS</name>
<description>Target Environment Operation System.
See https://github.com/golang/go/blob/master/src/go/build/syslist.go</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>linux</string>
<string>darwin</string>
<string>windows</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
<hudson.model.ChoiceParameterDefinition>
<name>GOARCH</name>
<description>Target Environment CPU Architecture.
See https://github.com/golang/go/blob/master/src/go/build/syslist.go
</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>amd64</string>
<string>386</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
<triggers/>
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty>
</properties>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.24">
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.0.1">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/dev9com/collectd_exporter</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="list"/>
<extensions>
<hudson.plugins.git.extensions.impl.CleanBeforeCheckout/>
<hudson.plugins.git.extensions.impl.LocalBranch>
<localBranch>""</localBranch>
</hudson.plugins.git.extensions.impl.LocalBranch>
</extensions>
</scm>
<scriptPath>Jenkinsfile</scriptPath>
</definition>
<triggers/>
</flow-definition>