[JIRA] (JENKINS-58450) CHANGE_FORK doesn't point out to the user/repo when the fork name differs from the upstream name

5 views
Skip to first unread message

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 11, 2019, 4:42:02 PM7/11/19
to jenkinsc...@googlegroups.com
Victor Martinez created an issue
 
Jenkins / Bug JENKINS-58450
CHANGE_FORK doesn't point out to the user/repo when the fork name differs from the upstream name
Issue Type: Bug Bug
Assignee: Unassigned
Components: github-branch-source-plugin
Created: 2019-07-11 20:41
Environment: Jenkins 2.176.1
GitHub Branch Source Plugin 2.5.3
SCM api plugin 2.6.3
Priority: Major Major
Reporter: Victor Martinez

According to:

https://javadoc.jenkins.io/plugin/scm-api/jenkins/scm/api/SCMHeadOrigin.Fork.html

Given the upstream:
https://github.com/super-mario-bros-pipelines/pipeline

and the PR:

https://github.com/super-mario-bros-pipelines/pipeline/pull/1

which was created from:
https://github.com/v1v/pipeline-1/tree/tes

I'd expect the CHANGE_FORK env variable to point out to v1v/pipeline-1 but it does point out to the user v1v instead.

The current set of env variables are shown below

CHANGE_AUTHOR=v1v
CHANGE_AUTHOR_DISPLAY_NAME=Victor Martinez
CHANGE_BRANCH=tes
CHANGE_FORK=v1v
CHANGE_ID=1
CHANGE_TARGET=master
CHANGE_TITLE=chore: testing a pipeline
CHANGE_URL=https://github.com/super-mario-bros-pipelines/pipeline/pull/1
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 11, 2019, 5:36:03 PM7/11/19
to jenkinsc...@googlegroups.com

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 11, 2019, 5:42:02 PM7/11/19
to jenkinsc...@googlegroups.com
Victor Martinez started work on Bug JENKINS-58450
 
Change By: Victor Martinez
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages