I have setup everthing as specified in the use cases to do build promotion.
I have this step definition
parallel
serial
checkout from quickbuild repository
publish artifacts from quickbuild repository
serial
checkout source code
label source code
And defined "qa" and "release" configurations, where the "release" configuration has the above step
as the default. THe "qa" configuration has a promote to configuration attribute set, and I get the following
error every time i try to promote (i'm logged in as admin):
An exception has occurred.
You may continue by restarting the session.
org.apache.tapestry.ApplicationRuntimeException
Unable to invoke method submit on com.pmease.quickbuild.web.PromoteEditor$
Enhance_51@183350f[PromoteEditor]: org.acegisecurity.AccessDeniedException(Permission denied.)
com.pmease.quickbuild.QuickBuildRemoteException
org.acegisecurity.AccessDeniedException(Permission denied.)
Stack Trace:
* com.pmease.quickbuild.interceptor.RemoteExceptionConverter.invoke(RemoteExceptionConverter.java:23)
* org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
* org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
* $Proxy2.getConfigurationByHierarchyName(Unknown Source)
* sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
* sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
* sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
* java.lang.reflect.Method.invoke(Method.java:585)
* com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:141)
* com.pmease.quickbuild.web.service.HessianService.service(HessianService.java:43)
.....
Secondly, it would be nice if we could use relative paths in the promote to configuration attribute,
as i'd always like somethign like "../release" to be where I promote to. In general, we just
duplicate configurations, so i don't want to have to keep changing this setting for every new
configuration we duplicate.