Thanks for the snappy reply.

Works great!

Thanks again.


On Thu, May 29, 2014 at 3:03 PM, Daniel Beck <m...@beckweb.net> wrote:

> That parameter is provided by the Subversion plugin.
>
> It simply allows you to select a branch (or tag, or any folder really)
> from Subversion as job argument. It doesn't check it out, that's what
> selecting the Subversion SCM further down in the job config is for. A bit
> like the "Choice Parameter", but with a list initialized from SVN.
>
> What you need do is you rename the parameter to something simpler, like
> "RCBranch". Then you configure Subversion SCM to check out the URL "
> http://evc.io.comcast.net/chimps/branches/$RCBranch";. Use the same
> credentials. If there's a validation error ("$RCBranch" doesn't exist")
> ignore it and/or configure Subversion SCM in global config to validate only
> up to first '$' character. Done.
>
> On 29.05.2014, at 22:22, Ed Young <e...@summitbid.com> wrote:
>
> >
> >
> > I'm trying to build a selectable subversion branch. When I select the
> branch from the dropdown, and kick off the build it fails because it hasn't
> actually pulled the code from svn and so the workspace is empty.
> >
> > This seems like the simplest use case, so I don't understand why it
> doesn't work.
> >
> > Jenkins 1.532.1
> >
> >
> > if I check "This build is parameterized" I get options for subversion
> (and other)
> > <Screen Shot 2014-05-29 at 2.06.04 PM.png>
> > ​The plugin correctly displays the branches in the drop down list, but
> when I kick off the build, it fails because nothing is pulled from SVN and
> the workspace is empty.
> >
> > Building in workspace
> /var/lib/jenkins/jobs/chimps-stag-tc-01-deploy/workspace
> >
> > [workspace] $
> /var/lib/jenkins/jobs/chimps-stag-tc-01-deploy/workspace/grailsw "-DChimps
> release candidate branches=3.5.1-S10-RC"
> -Dgrails.work.dir=/var/lib/jenkins/jobs/chimps-stag-tc-01-deploy/workspace//target
> -Dgrails.project.work.dir=target clean --non-interactive --plain-output
> > FATAL: command execution failed
> >
> > java.io.IOException
> > : Cannot run program
> "/var/lib/jenkins/jobs/chimps-stag-tc-01-deploy/workspace/grailsw" (in
> directory "/var/lib/jenkins/jobs/chimps-stag-tc-01-deploy/workspace"):
> error=2, No such file or directory
> >       at
> > java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
> >
> >       at
> > hudson.Proc$LocalProc.<init>(Proc.java:244)
> >
> >       at
> > hudson.Proc$LocalProc.<init>(Proc.java:216)
> >
> >       at
> > hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
> >
> >       at
> > hudson.Launcher$ProcStarter.start(Launcher.java:353)
> >
> >       at
> > hudson.Launcher$ProcStarter.join(Launcher.java:360)
> >
> >       at
> > com.g2one.hudson.grails.GrailsBuilder.perform(GrailsBuilder.java:266)
> >
> >       at
> > hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> >
> >       at
> >
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)
> >
> >       at
> > hudson.model.Build$BuildExecution.build(Build.java:199)
> >
> >       at
> > hudson.model.Build$BuildExecution.doRun(Build.java:160)
> >
> >       at
> >
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
> >
> >       at
> > hudson.model.Run.execute(Run.java:1665)
> >
> >       at
> > hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> >
> >       at
> > hudson.model.ResourceController.execute(ResourceController.java:88)
> >
> >       at
> > hudson.model.Executor.run(Executor.java:246)
> >
> > Caused by:
> > java.io.IOException
> > : error=2, No such file or directory
> >       at java.lang.UNIXProcess.forkAndExec(Native Method)
> >       at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
> >       at java.lang.ProcessImpl.start(ProcessImpl.java:130)
> >       at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
> >       ... 15 more
> > Build step 'Build With Grails' marked build as failure
> >
> >
> > I also have the subversion plugin installed, but I don't believe it's
> necessary since this feature seems to advertise it can pull from SVN.
> >
> > What am I doing wrong?
> >
> >
> >
> >
> >
> > --
> > - Ed
> >
> > --
> > 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.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
- Ed

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to