Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Abandoned
-
None
-
None
-
None
Description
We have repository: for ex. https://github.com/SomeRep/zeppelin
My github link https://github.com/OtherRep (i have permissions to https://github.com/SomeRep/zeppelin)
my local git config:
user.name=SomeRep
user.email=email@email.com
1) commit to https://github.com/SomeRep/zeppelin (starts build in travis-ci https://travis-ci.org/SomeRep/zeppelin/builds)
2) Create pull request from https://github.com/SomeRep/zeppelin
3) jenkins job zeppelin-pull-request failed because Author is taken from pull request
(jenkins log)
++ echo https://github.com/apache/zeppelin/pull/<number> https://github.com/OtherRep
++ sed 's/.[/](.)$/\1/g'
+ AUTHOR=OtherRep
++ echo https://github.com/apache/zeppelin/pull/<number> https://github.com/OtherRep
++ awk '
'
++ sed 's/.[/](.)$/\1/g'
+ PR=<number>
++ git log -n 1
++ grep '^Merge:'
++ awk '
'
+ COMMIT=<commit>
+ python ./travis_check.py OtherRep <commit>
[2017-02-21 07:32:31] Author: OtherRep, commit: <commit>
[2017-02-21 07:32:31] --------------------------------
[2017-02-21 07:32:36] Get build status ...
[2017-02-21 07:32:37] Can't find build for commit= 5c322d4