> you mean to say rerun jenkins, that means it ran once, you want to run it
again without any code changes?
Yes.

Thank you Ayush!

On Tue, Sep 8, 2020 at 6:20 PM Ayush Saxena <ayush...@gmail.com> wrote:

> Hi Mingliang,
> If by running Pre-Commit without any code change, you mean to say rerun
> jenkins, that means it ran once, you want to run it again without any code
> changes?
> If so,
> You can go to that PR build and click on replay. For example :
> Once logged in, if you click on the below link :
> https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2281/2/
>
> You can see an option 'replay' on the left, Clicking on it will rerun the
> build.
>
> Secondly, If the last build isn't available, then I think creating an empty
> commit is the only way as Dinesh also suggested.
>
> -Ayush
>
> On Wed, 9 Sep 2020 at 03:43, Mingliang Liu <lium...@apache.org> wrote:
>
> > Thanks Dinesh. This is very helpful.
> >
> > I will add this to the wiki page
> > <https://cwiki.apache.org/confluence/display/HADOOP/GitHub+Integration>
> if
> > this is the suggested way of doing it.
> >
> >
> >
> > On Tue, Sep 8, 2020 at 2:54 PM Dinesh Chitlangia <
> dchitlan...@cloudera.com
> > >
> > wrote:
> >
> > > You could try doing an empty commit.
> > >
> > > git commit --allow-empty -m 'trigger new CI check' && git push
> > >
> > >
> > > Thanks,
> > > Dinesh
> > >
> > >
> > >
> > > On Tue, Sep 8, 2020 at 5:39 PM Mingliang Liu <lium...@apache.org>
> wrote:
> > >
> > >> Hi,
> > >>
> > >> To trigger a PreCommit build without code change, I can make the JIRA
> > >> status "Patch Available" and provide the JIRA number to "Build With
> > >> Parameters" link
> > >> <
> > >>
> >
> https://ci-hadoop.apache.org/view/Hadoop/job/PreCommit-HADOOP-Build/build?delay=0sec
> > >> >
> > >> .
> > >>
> > >> Not sure how to do that for a PR without a real commit to the PR
> branch?
> > >>
> > >> Thanks,
> > >>
> > >
> >
>

Reply via email to