mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* Require and add newlines at EOF in all C++ code * Fix use of UTF-8 encoding in ci/config.xml * Add missing newlines to ends of other files
157 lines
5.9 KiB
XML
157 lines
5.9 KiB
XML
<?xml version='1.1' encoding='UTF-8'?>
|
||
<project>
|
||
<actions/>
|
||
<description><h2>F′ Continuous Integration</h2>
|
||

|
||
Continuous integration of the F′ core software. This performs safety checks on Pull Requests ensuring that the
|
||
<em>devel</em> and <em>master</em> branches are protected from erroneous pull requests.
|
||

|
||
<h3>Current Tests</h3>
|
||
<ol>
|
||
<li>(Re)Build of "Ref" app passes as expected.</li>
|
||
<li>Python testing framework of all UTs pass (TODO)</li>
|
||
<li>Running Ref app comes-up and stable (TODO)</li>
|
||
</ol>
|
||
<h3>Future tests</h3>
|
||
<ol>
|
||
<li>Autocoder UTs</li>
|
||
<li>GUI functional</li>
|
||
<li>Target specific Int Tests</li>
|
||
</ol>
|
||

|
||
<em>Note:</em> Contact Michael.D.Starch@jpl.nasa.gov for comments and/or questions!</description>
|
||
<keepDependencies>false</keepDependencies>
|
||
<properties>
|
||
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="github@1.29.3">
|
||
<projectUrl>FILL-ME</projectUrl>
|
||
<displayName></displayName>
|
||
</com.coravy.hudson.plugins.github.GithubProjectProperty>
|
||
<com.synopsys.arc.jenkinsci.plugins.jobrestrictions.jobs.JobRestrictionProperty plugin="job-restrictions@0.8"/>
|
||
</properties>
|
||
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1">
|
||
<configVersion>2</configVersion>
|
||
<userRemoteConfigs>
|
||
<hudson.plugins.git.UserRemoteConfig>
|
||
<refspec>+refs/pull/*:refs/remotes/origin/pr/*</refspec>
|
||
<url>FILL-ME</url>
|
||
<credentialsId></credentialsId>
|
||
</hudson.plugins.git.UserRemoteConfig>
|
||
</userRemoteConfigs>
|
||
<branches>
|
||
<hudson.plugins.git.BranchSpec>
|
||
<name>${ghprbActualCommit}</name>
|
||
</hudson.plugins.git.BranchSpec>
|
||
</branches>
|
||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||
<submoduleCfg class="list"/>
|
||
<extensions/>
|
||
</scm>
|
||
<assignedNode>CAE-Jenkins2-DH-Agents-Linux</assignedNode>
|
||
<canRoam>false</canRoam>
|
||
<disabled>false</disabled>
|
||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||
<jdk>(System)</jdk>
|
||
<triggers>
|
||
<org.jenkinsci.plugins.ghprb.GhprbTrigger plugin="ghprb@1.42.0">
|
||
<spec>H/5 * * * *</spec>
|
||
<configVersion>3</configVersion>
|
||
<adminlist>mstarch
|
||
swcaegitadmin</adminlist>
|
||
<allowMembersOfWhitelistedOrgsAsAdmin>false</allowMembersOfWhitelistedOrgsAsAdmin>
|
||
<orgslist></orgslist>
|
||
<cron>H/5 * * * *</cron>
|
||
<buildDescTemplate></buildDescTemplate>
|
||
<onlyTriggerPhrase>false</onlyTriggerPhrase>
|
||
<useGitHubHooks>true</useGitHubHooks>
|
||
<permitAll>false</permitAll>
|
||
<whitelist></whitelist>
|
||
<autoCloseFailedPullRequests>false</autoCloseFailedPullRequests>
|
||
<displayBuildErrorsOnDownstreamBuilds>false</displayBuildErrorsOnDownstreamBuilds>
|
||
<whiteListTargetBranches>
|
||
<org.jenkinsci.plugins.ghprb.GhprbBranch>
|
||
<branch></branch>
|
||
</org.jenkinsci.plugins.ghprb.GhprbBranch>
|
||
</whiteListTargetBranches>
|
||
<blackListTargetBranches>
|
||
<org.jenkinsci.plugins.ghprb.GhprbBranch>
|
||
<branch></branch>
|
||
</org.jenkinsci.plugins.ghprb.GhprbBranch>
|
||
</blackListTargetBranches>
|
||
<gitHubAuthId>FILL-ME</gitHubAuthId>
|
||
<triggerPhrase></triggerPhrase>
|
||
<skipBuildPhrase>.*\[skip\W+ci\].*</skipBuildPhrase>
|
||
<blackListCommitAuthor></blackListCommitAuthor>
|
||
<blackListLabels></blackListLabels>
|
||
<whiteListLabels></whiteListLabels>
|
||
<includedRegions></includedRegions>
|
||
<excludedRegions></excludedRegions>
|
||
<extensions>
|
||
<org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
|
||
<commitStatusContext></commitStatusContext>
|
||
<triggeredStatus></triggeredStatus>
|
||
<startedStatus></startedStatus>
|
||
<statusUrl></statusUrl>
|
||
<addTestResults>false</addTestResults>
|
||
</org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus>
|
||
</extensions>
|
||
</org.jenkinsci.plugins.ghprb.GhprbTrigger>
|
||
</triggers>
|
||
<concurrentBuild>false</concurrentBuild>
|
||
<builders>
|
||
<hudson.tasks.Shell>
|
||
<command>#!/bin/bash
|
||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||
. /opt/fprime-venv/bin/activate
|
||
echo "Merging: origin/${ghprbTargetBranch} into ${ghprbActualCommit}}"
|
||
GIT_EDITOR=true git merge origin/${ghprbTargetBranch}
|
||
if (( $? != 0 ))
|
||
then
|
||
echo "[ERROR] Automatic merge failed." 1>&2
|
||
exit 1
|
||
fi
|
||
cd ptf
|
||
./run_all_unit_tests.sh
|
||
if (( $? != 0 ))
|
||
then
|
||
echo "[ERROR] Build or Unit Tests Failed" 1>&2
|
||
exit 1
|
||
fi
|
||
./run_ac_tests.sh
|
||
if (( $? != 0 ))
|
||
then
|
||
echo "[ERROR] Autocoder Unit Tests Failed" 1>&2
|
||
exit 1
|
||
fi
|
||
cd ..
|
||
git clean -xdf .
|
||
./mk/ci/cmake-based-ci.bash
|
||
if (( $? != 0 ))
|
||
then
|
||
echo "[ERROR] CMake CI failed" 1>&2
|
||
exit 1
|
||
fi</command>
|
||
</hudson.tasks.Shell>
|
||
</builders>
|
||
<publishers/>
|
||
<buildWrappers>
|
||
<com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper plugin="docker-custom-build-environment@1.7.3">
|
||
<selector class="com.cloudbees.jenkins.plugins.okidocki.DockerfileImageSelector">
|
||
<contextPath></contextPath>
|
||
<dockerfile>mk/docker/Dockerfile</dockerfile>
|
||
</selector>
|
||
<dockerHost plugin="docker-commons@1.13"/>
|
||
<dockerRegistryCredentials></dockerRegistryCredentials>
|
||
<verbose>false</verbose>
|
||
<volumes class="empty-list"/>
|
||
<privileged>false</privileged>
|
||
<group></group>
|
||
<command></command>
|
||
<forcePull>false</forcePull>
|
||
<net>bridge</net>
|
||
<memory></memory>
|
||
<cpu></cpu>
|
||
</com.cloudbees.jenkins.plugins.okidocki.DockerBuildWrapper>
|
||
</buildWrappers>
|
||
</project>
|