[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2020-01-15 Thread tamerl...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ipleten commented on  JENKINS-49758  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
 I see exact the same issue. parameter variable can't be resolved in "Branch to build".  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188704.1519700423000.44.1579132020296%40Atlassian.JIRA.


[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2019-09-26 Thread giftigiftzw...@web.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber commented on  JENKINS-49758  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
 Updated to Major. Ran into the exact issue described in https://issues.jenkins-ci.org/browse/JENKINS-49834!image-2019-09-26-16-32-02-026.png!!image-2019-09-26-16-34-33-817.png! The whole feature is essentially not working.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188704.1519700423000.6112.1569508620326%40Atlassian.JIRA.


[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2019-09-26 Thread giftigiftzw...@web.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber edited a comment on  JENKINS-49758  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
 Updated to Major. Ran into the exact issue described in https://issues.jenkins-ci.org/browse/JENKINS-49834  !image-2019-09-26-16-32-02-026.png!  !image-2019-09-26-16-34-33-817.png!The whole feature is essentially not working.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188704.1519700423000.6114.1569508620381%40Atlassian.JIRA.


[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2019-09-26 Thread giftigiftzw...@web.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49758  
 
 
  when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
Change By: 
 Martin Weber  
 
 
Attachment: 
 image-2019-09-26-16-34-33-817.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188704.1519700423000.6102.1569508500705%40Atlassian.JIRA.


[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2019-09-26 Thread giftigiftzw...@web.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49758  
 
 
  when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
Change By: 
 Martin Weber  
 
 
Attachment: 
 image-2019-09-26-16-32-02-026.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188704.1519700423000.6093.1569508380468%40Atlassian.JIRA.


[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2019-09-26 Thread giftigiftzw...@web.de (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49758  
 
 
  when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
Change By: 
 Martin Weber  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188704.1519700423000.6082.1569508140619%40Atlassian.JIRA.


[JIRA] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2018-02-26 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49758  
 
 
  when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Assignee: 
 Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-49758) when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value

2018-02-26 Thread sleun...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 sam leung created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-49758  
 
 
  when passing in ref_spec with build parameters, the exact string "$REF_SPEC" is used rather then the value   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Mark Waite  
 
 
Components: 
 git-plugin  
 
 
Created: 
 2018-02-27 03:00  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 sam leung  
 

  
 
 
 
 

 
 To replicate: 1) create a job and pass in refspec as build parameter e.g. "$GIT_REFSPEC" 2) use the parameter "$GIT_REFSPEC" as the SCM configuration for git-plugin 3) The build will use the exact string "$GIT_REFSPEC" rather than the actual value of $GIT_REFSPEC for the fetch operation. For example: 01:26:08 using GIT_SSH to set credentials Gerrit SSH Key 01:26:08 > /usr/bin/git fetch --no-tags --progress ssh://[github-project-url] $GIT_REFSPEC --depth=2 01:31:43 > /usr/bin/git config remote.origin.url ssh://[github-project-url] # timeout=10 01:31:43 > /usr/bin/git config --add remote.origin.fetch $GIT_REFSPEC # timeout=10   I believe the .toString in this line is causing this problem: https://github.com/jenkinsci/git-client-plugin/blob/4241e818dbe27fb78093094f29ebcd2203166610/src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java#L617  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment