> On Jun 8, 2016, at 2:47 PM, Amila Wijayarathna <[email protected]>
> wrote:
>
> Hi Allen,
>
> As you mentioned, i did extract yetus in workspace and select shell
> execute option.Then it needs to enter a command. But I have bit of
> confusion about that because the command I used in terminal is [1] and its
> patch url is a variable.
Right. Jenkins supports parameterized builds. One of the parameters
should be the URL or whatever for input.
> But I think the shell command must be a constant
> one.
> Any idea about this is thoroughly appreciated.
>
> [1] ./test-patch --basedir=/home/amila/incubator-rya
> --patch-dir=/home/amila/ --plugins=all --project=PreCommit-Rya-Build
> https://github.com/apache/incubator-rya/pull/39.patch --jenkins
If this is for an ASF project, I *highly highly highly* recommend
looking at the other projects already using Apache Yetus (Accumulo, Hadoop, or
HBase) for how they set their builds up.