[JIRA] (JENKINS-61514) Jenkins not recognizing git option.

7 views
Skip to first unread message

samiulg3@gmail.com (JIRA)

unread,
Mar 18, 2020, 2:03:02 PM3/18/20
to jenkinsc...@googlegroups.com
Md Huq created an issue
 
Jenkins / Bug JENKINS-61514
Jenkins not recognizing git option.
Issue Type: Bug Bug
Assignee: Carlos Sanchez
Components: docker, git-plugin
Created: 2020-03-18 18:02
Priority: Minor Minor
Reporter: Md Huq

Builds seem to fail on docker commands. 

 

Pipeline step shows it fails on `docker pull node:7-alpine`

 

But console output shows something else. 

 
unknown option: -xe
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 18, 2020, 6:13:02 PM3/18/20
to jenkinsc...@googlegroups.com
Mark Waite commented on Bug JENKINS-61514
 
Re: Jenkins not recognizing git option.

Please provide a numbered list of steps which another person can use to duplicate the issue. A Jenkins NodeJS tutorial uses node:6-alpine successfully. I worked through that tutorial multiple times in the last few days and am confident that node:6-alpine works correctly with pipelines.

You could be mistakenly assuming that the node:7-alpine docker image contains command line git. You could be mistakenly performing the checkout incorrectly. There are many different ways that things could go wrong in your environment which cause you to see a failure that others do not see. Please provided detailed steps that others can use to see the issue. Refer to "How to Report an Issue" for guidelines that will increase the chances that others will investigate your report.

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 18, 2020, 6:14:03 PM3/18/20
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
 
Change By: Mark Waite
Assignee: Carlos Sanchez

mark.earl.waite@gmail.com (JIRA)

unread,
Mar 19, 2020, 8:55:02 PM3/19/20
to jenkinsc...@googlegroups.com
Mark Waite resolved as Cannot Reproduce
Change By: Mark Waite
Status: Open Resolved
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages