[JIRA] (JENKINS-60611) Not specifying a repo platform results in "Invalid Platform Flag" error

6 views
Skip to first unread message

jlange6648@gmail.com (JIRA)

unread,
Dec 30, 2019, 10:27:02 AM12/30/19
to jenkinsc...@googlegroups.com
Jeff Lange created an issue
 
Jenkins / Bug JENKINS-60611
Not specifying a repo platform results in "Invalid Platform Flag" error
Issue Type: Bug Bug
Assignee: Unassigned
Components: repo-plugin
Created: 2019-12-30 15:26
Environment: Jenkins 2.204.1 Repo Plugin 1.12.0
Priority: Major Major
Reporter: Jeff Lange

When creating a new REPO project, leaving the platform field blank should result in no -p flag being passed to the repo init command. However, the following command is generated, resulting in a failure:
repo init -u ssh://xxx/yyy -b master -p --depth=1 --current-branch
An empty -p is generated, causing --depth=1 to be interpreted as the platform value.

Manually specifying the value 'auto' will work as a work-around, but this is NOT the expected behavior.

This is a new regression issue, as this used to work as expected.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

gopal.ahir@motorolasolutions.com (JIRA)

unread,
Feb 11, 2020, 1:36:03 AM2/11/20
to jenkinsc...@googlegroups.com
Gopal Ahir commented on Bug JENKINS-60611
 
Re: Not specifying a repo platform results in "Invalid Platform Flag" error

e are also facing the same issue with latest jenkins version. Is there any solution yet?

gopal.ahir@motorolasolutions.com (JIRA)

unread,
Feb 11, 2020, 1:37:03 AM2/11/20
to jenkinsc...@googlegroups.com
Gopal Ahir edited a comment on Bug JENKINS-60611
e We are also facing the same issue with latest jenkins version. Is there any solution yet?
Reply all
Reply to author
Forward
0 new messages