forked from Sloeber/arduino-eclipse-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xml
executable file
·185 lines (184 loc) · 8.8 KB
/
config.xml
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version='1.0' encoding='UTF-8'?>
<maven2-moduleset plugin="[email protected]">
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">
<daysToKeep>10</daysToKeep>
<numToKeep>10</numToKeep>
<artifactDaysToKeep>-1</artifactDaysToKeep>
<artifactNumToKeep>-1</artifactNumToKeep>
</strategy>
</jenkins.model.BuildDiscarderProperty>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="[email protected]">
<projectUrl>https://github.com/jantje/arduino-eclipse-plugin.git/</projectUrl>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://[email protected]/jantje/arduino-eclipse-plugin.git</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/>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<jdk>java 8</jdk>
<triggers>
<hudson.triggers.TimerTrigger>
<spec>H 2 * * *</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<rootModule>
<groupId>com.github.brodykenrick.arduino-eclipse-plugin</groupId>
<artifactId>root</artifactId>
</rootModule>
<goals>clean verify -Pall,mars</goals>
<aggregatorStyleBuild>true</aggregatorStyleBuild>
<incrementalBuild>false</incrementalBuild>
<ignoreUpstremChanges>true</ignoreUpstremChanges>
<archivingDisabled>true</archivingDisabled>
<siteArchivingDisabled>false</siteArchivingDisabled>
<fingerprintingDisabled>false</fingerprintingDisabled>
<resolveDependencies>false</resolveDependencies>
<processPlugins>true</processPlugins>
<mavenValidationLevel>-1</mavenValidationLevel>
<runHeadless>false</runHeadless>
<disableTriggerDownstreamProjects>false</disableTriggerDownstreamProjects>
<blockTriggerWhenBuilding>true</blockTriggerWhenBuilding>
<settings class="jenkins.mvn.DefaultSettingsProvider"/>
<globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
<reporters/>
<publishers>
<org.jenkins__ci.plugins.flexible__publish.FlexiblePublisher plugin="[email protected]">
<publishers>
<org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
<condition class="org.jenkins_ci.plugins.run_condition.contributed.ShellCondition" plugin="[email protected]">
<command>#!/bin/bash
changelog=${WORKSPACE}/../builds/${BUILD_ID}/changelog.xml
content=`head -1 "${changelog}"`
echo ${content}
if [ "${content}" == "<log/>" ]; then
echo No change
exit 1
fi
if [ "${content}" == "" ]; then
echo No change
exit 2
fi
echo change
exit 0</command>
</condition>
<publisherList>
<jenkins.plugins.publish__over__ftp.BapFtpPublisherPlugin plugin="[email protected]">
<consolePrefix>FTP: </consolePrefix>
<delegate>
<publishers>
<jenkins.plugins.publish__over__ftp.BapFtpPublisher>
<configName>ftp.baeyens.it</configName>
<verbose>false</verbose>
<transfers>
<jenkins.plugins.publish__over__ftp.BapFtpTransfer>
<remoteDirectory></remoteDirectory>
<sourceFiles>Eclipse*/WebContent/**</sourceFiles>
<excludes></excludes>
<removePrefix>Eclipse update site/WebContent</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<asciiMode>false</asciiMode>
</jenkins.plugins.publish__over__ftp.BapFtpTransfer>
<jenkins.plugins.publish__over__ftp.BapFtpTransfer>
<remoteDirectory>download/product</remoteDirectory>
<sourceFiles>*.tar.gz</sourceFiles>
<excludes></excludes>
<removePrefix></removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<asciiMode>false</asciiMode>
</jenkins.plugins.publish__over__ftp.BapFtpTransfer>
<jenkins.plugins.publish__over__ftp.BapFtpTransfer>
<remoteDirectory>nightly</remoteDirectory>
<sourceFiles>it.baeyens.arduino.updatesite/target/repository/</sourceFiles>
<excludes></excludes>
<removePrefix>it.baeyens.arduino.updatesite/target/repository</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<asciiMode>false</asciiMode>
</jenkins.plugins.publish__over__ftp.BapFtpTransfer>
</transfers>
<useWorkspaceInPromotion>false</useWorkspaceInPromotion>
<usePromotionTimestamp>false</usePromotionTimestamp>
</jenkins.plugins.publish__over__ftp.BapFtpPublisher>
</publishers>
<continueOnError>false</continueOnError>
<failOnError>false</failOnError>
<alwaysPublishFromMaster>false</alwaysPublishFromMaster>
<hostConfigurationAccess class="jenkins.plugins.publish_over_ftp.BapFtpPublisherPlugin" reference="../.."/>
</delegate>
</jenkins.plugins.publish__over__ftp.BapFtpPublisherPlugin>
</publisherList>
<runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail" plugin="[email protected]"/>
<executionStrategy class="org.jenkins_ci.plugins.flexible_publish.strategy.FailFastExecutionStrategy"/>
</org.jenkins__ci.plugins.flexible__publish.ConditionalPublisher>
</publishers>
</org.jenkins__ci.plugins.flexible__publish.FlexiblePublisher>
</publishers>
<buildWrappers/>
<prebuilders>
<hudson.tasks.Shell>
<command>#!/bin/ash
rm *.tar.gz
exit 0</command>
</hudson.tasks.Shell>
</prebuilders>
<postbuilders>
<hudson.tasks.Shell>
<command>#!/bin/ash
BUILD_TIMESTAMP=`date +'%Y-%m-%d_%H-%M-%S'`
cd "${WORKSPACE}/it.baeyens.arduino.product/target/products/it.baeyens.arduino.product/linux/gtk/x86/opt"
tar -zcvf "${WORKSPACE}/linux32.${BUILD_TIMESTAMP}.tar.gz" eclipseArduino
cd "${WORKSPACE}/it.baeyens.arduino.product/target/products/it.baeyens.arduino.product/linux/gtk/x86_64/opt"
tar -zcvf "${WORKSPACE}/linux64.${BUILD_TIMESTAMP}.tar.gz" eclipseArduino
cd "${WORKSPACE}/it.baeyens.arduino.product/target/products/it.baeyens.arduino.product/win32/win32/x86_64"
tar -zcvf "${WORKSPACE}/win64.${BUILD_TIMESTAMP}.tar.gz" eclipseArduino
cd "${WORKSPACE}/it.baeyens.arduino.product/target/products/it.baeyens.arduino.product/win32/win32/x86"
tar -zcvf "${WORKSPACE}/win32.${BUILD_TIMESTAMP}.tar.gz" eclipseArduino
cd "${WORKSPACE}/it.baeyens.arduino.product/target/products/it.baeyens.arduino.product/macosx/cocoa/x86_64"
tar -zcvf "${WORKSPACE}/mac64.${BUILD_TIMESTAMP}.tar.gz" eclipseArduino
exit 0
</command>
</hudson.tasks.Shell>
</postbuilders>
<runPostStepsIfResult>
<name>SUCCESS</name>
<ordinal>0</ordinal>
<color>BLUE</color>
<completeBuild>true</completeBuild>
</runPostStepsIfResult>
</maven2-moduleset>