I deleted the project and created it again from scratch.
I built it once, so it would build the master branch.

On the second build, I get noWorkspaceError. But there most definitely *is* 
a workspace!


This build requires parameters:
 TAG_TO_BUILD

noWorkspaceError
Retrieving Git references…
You must have built the project at least once, to get entries in the list 
above.
If you wipe out your workspace, the plugin needs to clone the repository 
before it can list the tags/revisions. This may take some time if you have 
a slow connection or the repository is big.



On Monday, February 16, 2015 at 1:01:36 PM UTC+1, Amedee Van Gasse wrote:
>
> Jenkins version: 1.593
> Git Parameter Plug-In 
> <http://wiki.jenkins-ci.org/display/JENKINS/Git+Parameter+Plugin>: 0.4.0
> GIT client plugin 
> <http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin>: 1.16.1
>
>
> I have a parameterized build.
> My parameter is Git Parameter.
>
> Name: TAG_TO_BUILD
> Description:
> Parameter type: Branch or tag
> Branch filter: *
> Tag filter: *
> Tag sort mode: DESCENDING_SMART
> Default value: master
>
> Source code management:
> Branches to build: origin/${TAG_TO_BUILD}
>
>
> When I Build with parameters, I always get "Retrieving Git references...":
>
> This build requires parameters:
>  TAG_TO_BUILD
> Retrieving Git references…
> You must have built the project at least once, to get entries in the list 
> above.
> If you wipe out your workspace, the plugin needs to clone the repository 
> before it can list the tags/revisions. This may take some time if you have 
> a slow connection or the repository is big.
>
> I always get this, the box is never filled with branches or tags, even 
> after I built the project without specifying a parameter (it was 
> successfully built with branch master).
>
> Is there something else that I am missing here?
>
> -- 
> Amedee
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/79df3659-e56a-4817-9ccb-34072cad1500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to