OVMS3/jenkins.xml

269 lines
13 KiB
XML
Raw Permalink Normal View History

2022-04-09 03:12:20 +00:00
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
2022-04-20 19:56:00 +00:00
<description>Build my OVMS3 fork and upload it to my own OTA server.</description>
2022-04-09 03:12:20 +00:00
<keepDependencies>false</keepDependencies>
<properties>
<hudson.model.ParametersDefinitionProperty>
<parameterDefinitions>
<hudson.model.ChoiceParameterDefinition>
<name>Build_Tag_Version</name>
<description>Build Tag
Main = Stabile FW
Edge = Entwicklung</description>
<choices class="java.util.Arrays$ArrayList">
<a class="string-array">
<string>main</string>
<string>edge</string>
</a>
</choices>
</hudson.model.ChoiceParameterDefinition>
2022-04-20 19:56:00 +00:00
<hudson.model.TextParameterDefinition>
<name>Changelog_L1</name>
<description>Änderungen in der Firmware Version, wird beim OTA Update angezeigt.</description>
<trim>false</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>Changelog_L2</name>
<trim>false</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>Changelog_L3</name>
<trim>false</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>Changelog_L4</name>
<trim>false</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>Changelog_L5</name>
<trim>false</trim>
</hudson.model.TextParameterDefinition>
<hudson.model.TextParameterDefinition>
<name>Changelog_L6</name>
<trim>false</trim>
</hudson.model.TextParameterDefinition>
2022-04-09 03:12:20 +00:00
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="git@4.11.0">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://git.bit-cloud.de/carsten.schmiemann/OVMS3.git</url>
<credentialsId>570f4a21-0fdf-4720-885f-e6b6a808e902</credentialsId>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="empty-list"/>
<extensions/>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
2022-04-20 20:00:49 +00:00
<triggers/>
2022-04-09 03:12:20 +00:00
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>git submodule init
git submodule update</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>cd OVMS.V3-idf/
./install.sh</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>cd OVMS.V3/
cp support/sdkconfig.cs-${Build_Tag_Version}.hw31 sdkconfig
source ../OVMS.V3-idf/export.sh
git tag 3.3.002-cs${BUILD_NUMBER}
make -j8
git tag -d 3.3.002-cs${BUILD_NUMBER}</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>echo 3.3.002-cs${BUILD_NUMBER} &gt; OVMS.V3/build/ovms3.ver
2022-04-20 19:56:00 +00:00
echo ${GIT_COMMIT}-${GIT_BRANCH}-${Build_Tag_Version} &gt;&gt; OVMS.V3/build/ovms3.ver
2022-04-09 03:12:20 +00:00
echo ${GIT_URL} &gt;&gt; OVMS.V3/build/ovms3.ver
2022-04-20 19:56:00 +00:00
echo Changes: &gt;&gt; OVMS.V3/build/ovms3.ver
echo ${Changelog_L1} &gt;&gt; OVMS.V3/build/ovms3.ver
echo ${Changelog_L2} &gt;&gt; OVMS.V3/build/ovms3.ver
echo ${Changelog_L3} &gt;&gt; OVMS.V3/build/ovms3.ver
echo ${Changelog_L4} &gt;&gt; OVMS.V3/build/ovms3.ver
echo ${Changelog_L5} &gt;&gt; OVMS.V3/build/ovms3.ver
echo ${Changelog_L6} &gt;&gt; OVMS.V3/build/ovms3.ver</command>
2022-04-09 03:12:20 +00:00
<configuredLocalRules/>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.tasks.Mailer plugin="mailer@408.vd726a_1130320">
<recipients>carsten.schmiemann@pfalz-mail.de</recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>false</sendToIndividuals>
</hudson.tasks.Mailer>
<jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin plugin="publish-over-ssh@1.24">
<consolePrefix>SSH: </consolePrefix>
<delegate plugin="publish-over@0.22">
<publishers>
<jenkins.plugins.publish__over__ssh.BapSshPublisher plugin="publish-over-ssh@1.24">
<configName>OVMS Server</configName>
<verbose>false</verbose>
<transfers>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/${Build_Tag_Version}</remoteDirectory>
<sourceFiles>OVMS.V3/build/bootloader/bootloader.bin</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/bootloader/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/${Build_Tag_Version}</remoteDirectory>
<sourceFiles>OVMS.V3/build/ovms3.bin</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/${Build_Tag_Version}</remoteDirectory>
<sourceFiles>OVMS.V3/build/partitions.bin</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/${Build_Tag_Version}</remoteDirectory>
<sourceFiles>OVMS.V3/build/ovms3.ver</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/3.3.002-cs${BUILD_NUMBER}-${Build_Tag_Version}-${GIT_COMMIT}</remoteDirectory>
<sourceFiles>OVMS.V3/build/bootloader/bootloader.bin</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/bootloader/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/3.3.002-cs${BUILD_NUMBER}-${Build_Tag_Version}-${GIT_COMMIT}</remoteDirectory>
<sourceFiles>OVMS.V3/build/ovms3.bin</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/3.3.002-cs${BUILD_NUMBER}-${Build_Tag_Version}-${GIT_COMMIT}</remoteDirectory>
<sourceFiles>OVMS.V3/build/partitions.bin</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
<jenkins.plugins.publish__over__ssh.BapSshTransfer>
<remoteDirectory>v3.3/3.3.002-cs${BUILD_NUMBER}-${Build_Tag_Version}-${GIT_COMMIT}</remoteDirectory>
<sourceFiles>OVMS.V3/build/ovms3.ver</sourceFiles>
<excludes></excludes>
<removePrefix>OVMS.V3/build/</removePrefix>
<remoteDirectorySDF>false</remoteDirectorySDF>
<flatten>false</flatten>
<cleanRemote>false</cleanRemote>
<noDefaultExcludes>false</noDefaultExcludes>
<makeEmptyDirs>false</makeEmptyDirs>
<patternSeparator>[, ]+</patternSeparator>
<execCommand></execCommand>
<execTimeout>120000</execTimeout>
<usePty>false</usePty>
<useAgentForwarding>false</useAgentForwarding>
<useSftpForExec>false</useSftpForExec>
</jenkins.plugins.publish__over__ssh.BapSshTransfer>
</transfers>
<useWorkspaceInPromotion>false</useWorkspaceInPromotion>
<usePromotionTimestamp>false</usePromotionTimestamp>
</jenkins.plugins.publish__over__ssh.BapSshPublisher>
</publishers>
<continueOnError>false</continueOnError>
<failOnError>false</failOnError>
<alwaysPublishFromMaster>false</alwaysPublishFromMaster>
<hostConfigurationAccess class="jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin" reference="../.."/>
</delegate>
</jenkins.plugins.publish__over__ssh.BapSshPublisherPlugin>
</publishers>
<buildWrappers/>
</project>