>
> no. I created branch1 from master then create and push commits on branch1
> and don't make any changes on master branch during work on branch1. Then I
> created a PR from branch1 to master and in the Jenkins. When building the
> PR, I don't see any commits in the Recent changes view.

 There are no changes in the first build because it cannot compare with any
records. But you can see the changes after that.

Both aspects occur IMO because of the wrong merge order "master into
> branchX" and not "branchX into master" and that's what confuses our
> developers.
>
I think Jenkins doesn't know the right merge order. So IMO you might
need to make a fit flow for this. You can try to use git rebase.

On Mon, Jan 28, 2019 at 4:25 PM 'Tom Ku' via Jenkins Users <
[email protected]> wrote:

> Hi,
>
> no. I created branch1 from master then create and push commits on branch1
> and don't make any changes on master branch during work on branch1. Then I
> created a PR from branch1 to master and in the Jenkins. When building the
> PR, I don't see any commits in the Recent changes view.
>
> Another aspect is that, on the same scenario if there were commits on
> master (e.g. from merged branch2) during work on branch1, I see those
> commits of the master branch in the Recent changes view in Jenkins after PR
> build. Only commits for branch1 should be shown in the Recent changes view.
>
> Both aspects occur IMO because of the wrong merge order "master into
> branchX" and not "branchX into master" and that's what confuses our
> developers.
>
> Can you reproduce these aspects?
>
> Am Montag, 28. Januar 2019 08:31:49 UTC+1 schrieb Xiaojie Zhao:
>>
>> You are saying that the new branch1 is same as the master, then you
>> create a pull request from branch1 to master? In my opinion, it's not
>> necessary to build this pull request.
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/7f35c6f4-b0d5-42d6-8ae7-8e6c5f60c1ed%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/7f35c6f4-b0d5-42d6-8ae7-8e6c5f60c1ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
https://github.com/LinuxSuRen

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMM7nTHPCDtgwdyzZeR1TAzDT_d%2BuRU--L8rABTa4B0-ZuFBSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to