Forgot the last step:

Per http://wiki.apache.org/general/PreCommitBuilds, someone would then need to ask to add the job that you all create to the PreCommit-Admin job. This is what will periodically run your job and trigger any necessary builds.

Josh Elser wrote:
The --jenkins argument isn't using a Jenkins instance, Amila, it's just
an option to trigger things that would happen when it's being invoked by
a Jenkins server (which you're not actually doing). For example, that's
why it's trying to write a report to JIRA instead of just printing it
out locally.

Have Adina (or anyone else on the project with the karma) create a
PreCommit job on the ASF jenkins (or just copy Accumulo's[1]), and work
with them to modify the configuration to run against Rya. Because you
are not a committer, you can't have access to do this yourself.

[1]
https://builds.apache.org/view/PreCommit%20Builds/job/PreCommit-ACCUMULO-Build/


Amila Wijayarathna wrote:
Hi josh,

Thank you for replying.
I made a local patch file and I could successfully ran Yetus with it.
After
that I successfully ran yetus with complete url of PR patches as a patch

Now i need to integrate jenkins with yetus. As I have locally installed
jenkins, I ran the test patch with --jenkins command and got this result
[1]. But in jenkins server there is no any changes made.
Can i know what are the configuration that need to change when integrate
yetus to locally installed jenkins.
I searched about this but unfortunately i couldn't find any.

[1]
https://gist.github.com/AmilaWijayarathna/00ca81c7090db79225efbd3edae31e37


Thank you!

On Thu, Jun 2, 2016 at 1:04 AM, Josh Elser<[email protected]> wrote:

Amila,

Typically, the next step is to write a Yetus personality for the
project.

As an example:
https://github.com/apache/yetus/blob/rel/0.3.0/precommit/personality/accumulo.sh


You can then do the following on JIRA issues that are in "Patch
Available"

./test-patch.sh --project=rya RYA-123

or, I believe you could give it the complete URL to a patch

./test-patch.sh --project=rya
https://github.com/apache/incubator-rya/pull/39.patch


Amila Wijayarathna wrote:

Hi all,

I'm trying to install yetus test-patch in my ubuntu laptop and need to
know how to use Apache Yetus test-patch for the pre-commit checks.

I downloaded yetus-0.3.0-bin.tar.gz from [1] and went through [2] and
installed base requirements also.

And I'm not sure how to proceed further.
Can some one please guide me on what is the procedure to follow when
doing
this?

[1]

https://www.apache.org/dyn/closer.lua?path=/yetus/0.3.0/yetus-0.3.0-bin.tar.gz

[2] http://yetus.apache.org/documentation/0.2.1/precommit-basic/

Thank you very much!





Reply via email to