blob: 7a37c59a9bdc549c1f73b21c113a7d3b688b1488 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>sop-addGerritContributer</title>
</properties>
<body>
<section name="Gerrit and whitelist">
<p>Hudson is able to make the copy/paste from job folders to download folders. It introduces a security break. We have used the official mecanism to prevent code execution.</p>
<p>If one of your contributers is not commiter, his contribution will be refused by the server as we execute:</p>
<source>/shared/common/gerrit-utils/authorizeGerritBuild.sh papyrus/org.eclipse.papyrus-designer https://hudson.eclipse.org/papyrus /job/papyrus-designer-gerrit/244/ vancam.pham@cea.fr
</source>
<p>You need to add him manually in the whitelist of your project:</p>
<source>ssh login@build.eclipse.org
cd /opt/public/gerrit-contributor-whitelists/papyrus
vi contributor_whitelist.txt
</source>
</section>
</body>
</document>