[JIRA] (JENKINS-17359) Git plugin: add 'clean before checkout' option

2 views
Skip to first unread message

richiechoo1993@gmail.com (JIRA)

unread,
Sep 2, 2019, 8:15:02 AM9/2/19
to jenkinsc...@googlegroups.com
Richie Choo commented on Bug JENKINS-17359
 
Re: Git plugin: add 'clean before checkout' option

How to make JenKins exec 'git clean -fd' instead of 'git clean -fdx'

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

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

unread,
Sep 2, 2019, 9:33:02 AM9/2/19
to jenkinsc...@googlegroups.com

Richie Choo it is much better to ask questions on the Jenkins user mailing list or on the Jenkins chat channels. Many more people read those questions and can respond to them. When you ask a question on a closed bug report, you're hoping that the very few people that monitor bug reports will answer your question.

In this specific case, there is no way to make the Jenkins git plugin change the arguments it passes to git clean.

If you use a Pipeline, you can run git clean with any arguments you choose.

Reply all
Reply to author
Forward
0 new messages