oss-fuzz/infra/auto-setup/jenkins_config/base_job.xml

51 lines
1.5 KiB
XML
Raw Normal View History

2016-11-14 22:47:45 +00:00
<?xml version='1.0' encoding='UTF-8'?>
2017-03-11 01:58:19 +00:00
<project>
2016-11-14 22:47:45 +00:00
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
2017-03-11 01:58:19 +00:00
<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/>
<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
build_id=$(python build.py $WORKSPACE/oss-fuzz/$JOB_NAME)
python wait_for_build.py $build_id
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>