mirror of https://github.com/google/oss-fuzz.git
61 lines
1.8 KiB
XML
61 lines
1.8 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<project>
|
|
<actions/>
|
|
<description></description>
|
|
<keepDependencies>false</keepDependencies>
|
|
<properties/>
|
|
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.1.0">
|
|
<configVersion>2</configVersion>
|
|
<userRemoteConfigs>
|
|
<hudson.plugins.git.UserRemoteConfig>
|
|
<url>https://github.com/google/oss-fuzz.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>
|
|
<hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
|
|
<relativeTargetDir>oss-fuzz</relativeTargetDir>
|
|
</hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
|
|
</extensions>
|
|
</scm>
|
|
<canRoam>true</canRoam>
|
|
<disabled>false</disabled>
|
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
|
<triggers>
|
|
<hudson.triggers.TimerTrigger>
|
|
<spec>H 6 * * *</spec>
|
|
</hudson.triggers.TimerTrigger>
|
|
</triggers>
|
|
<concurrentBuild>false</concurrentBuild>
|
|
<builders>
|
|
<hudson.tasks.Shell>
|
|
<command>#!/bin/bash -eux
|
|
|
|
virtualenv ENV
|
|
set +o nounset
|
|
. ENV/bin/activate
|
|
set -o nounset
|
|
|
|
cd $WORKSPACE/oss-fuzz/infra/gcb
|
|
pip install -r requirements.txt
|
|
project_dir=$WORKSPACE/oss-fuzz/projects/$(basename $JOB_NAME)
|
|
build_id=$(python build_and_run_coverage.py $project_dir)
|
|
if [[ "$build_id" == "0" ]]; then
|
|
echo "Intentionally skipping code coverage job."
|
|
else
|
|
python wait_for_build.py $build_id
|
|
fi
|
|
</command>
|
|
</hudson.tasks.Shell>
|
|
</builders>
|
|
<publishers/>
|
|
<buildWrappers/>
|
|
</project>
|