[JIRA] [git-plugin] (JENKINS-32998) add condition to the GIT clone/pull step

2016-03-06 Thread g...@tikalk.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gil Shinar commented on  JENKINS-32998 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: add condition to the GIT clone/pull step  
 
 
 
 
 
 
 
 
 
 
Problem is Git plugin does many things that "protect" you from whatever exists in the workspace at the moment the clone/pull occurs and I want that "protection" 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-32998) add condition to the GIT clone/pull step

2016-02-24 Thread michael_gir...@choicehotels.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 michael giroux commented on  JENKINS-32998 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: add condition to the GIT clone/pull step  
 
 
 
 
 
 
 
 
 
 
Perhaps the Git plugin is overkill for this type of job. Have you considered setting SCM to none and using a simple build step to execute a shell script that tests the parameter, and does the checkout as appropriate? 
[ "$ {parameter} 
" = "checkout" ] && git checkout ... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-32998) add condition to the GIT clone/pull step

2016-02-19 Thread robertosen...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Roberto Sena commented on  JENKINS-32998 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: add condition to the GIT clone/pull step  
 
 
 
 
 
 
 
 
 
 
I too would like to see a condition on the Git checkout. I currently have jobs that don't need to do a checkout every time. I would love to be able to handle that with a passed in parameter that I can check against rather than have separate jobs that check out, build, and deploy. and one job that wraps those to know which to do.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-32998) add condition to the GIT clone/pull step

2016-02-17 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32998 
 
 
 
  add condition to the GIT clone/pull step  
 
 
 
 
 
 
 
 
 

Change By:
 
 Mark Waite 
 
 
 

Assignee:
 
 Mark Waite 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-32998) add condition to the GIT clone/pull step

2016-02-17 Thread g...@tikalk.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gil Shinar updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32998 
 
 
 
  add condition to the GIT clone/pull step  
 
 
 
 
 
 
 
 
 

Change By:
 
 Gil Shinar 
 
 
 
 
 
 
 
 
 
 The thing is as follows:I use building blocks, Jenkins jobs, that are usually being used by upstream jobs but I want them to be able to run on their own  as well .If I use the Git plugin step in the upstream project, it is no use to run this plugin's procedure again in the downstream job. I would like to be able to pass a Boolean parameter from the upstream job to the downstream job that'll avoid the Git plugin's step, if the parameter evaluates to false. (It can, off course, be a string evaluation or any other comparison parameter or _expression_).  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-32998) add condition to the GIT clone/pull step

2016-02-17 Thread g...@tikalk.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Gil Shinar created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32998 
 
 
 
  add condition to the GIT clone/pull step  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  New Feature 
 
 
 

Assignee:
 
 Mark Waite 
 
 
 

Components:
 

 git-plugin 
 
 
 

Created:
 

 17/Feb/16 1:51 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Gil Shinar 
 
 
 
 
 
 
 
 
 
 
The thing is as follows: I use building blocks, Jenkins jobs, that are usually being used by upstream jobs but I want them to be able to run on their own. If I use the Git plugin step in the upstream project, it is no use to run this plugin's procedure again in the downstream job.  I would like to be able to pass a Boolean parameter from the upstream job to the downstream job that'll avoid the Git plugin's step, if the parameter evaluates to false. (It can, off course, be a string evaluation or any other comparison parameter or _expression_).  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment