[JIRA] Closed: (CC-1003) ScriptRunner - Error validating server certificate for SVN and config.xml running exec to execute a batch file

"Dan Rollo (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <2109170425.1292753029963.JavaMail.jira@chidmzhosting02.thoughtworks.com>
     [ http://jira.public.thoughtworks.org/browse/CC-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Rollo closed CC-1003.
-------------------------

    Resolution: Incomplete

>  ScriptRunner     - Error validating server certificate for SVN and config.xml running exec to execute a batch file 
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CC-1003
>                 URL: http://jira.public.thoughtworks.org/browse/CC-1003
>             Project: CruiseControl
>          Issue Type: Bug
>    Affects Versions: 2.8.3
>         Environment: Windows 7, IBM Rational Application Developer, SVN, Cruisecontrol v 2.8.3  and  Websphere Application Server.
>            Reporter: Michael Galvin
>
> I am trying to run a .bat file from cruisecontrol using exec in my config.xml file.  The problem is that it keeps looking for the -build file to be specified.  As you can see in the config.xml below I am providing that argument however it is not being resolved.   We are running in a IBM Rational Application Developer environment so the script is tied closly with WS_Ant.  The key issue is that SVN is reporting some kind of certificate problem.  
> "WARN  ScriptRunner     - Error validating server certificate for 'https://mssscm01:443':"
> Below is a look at my config.xml.  When you look at the exec you will notice RSF before the -buildfile.  That is telling RAD and the ws_ant script where the workspace is located.   Any help would be greatly appreciated.
> <project name="RSF" buildafterfailed="true">
>     <listeners>
>       <currentbuildstatuslistener
>           file="/CruiseControl/logs/RSF/status.txt"/>
>     </listeners>
>     <!-- Bootstrappers are run every time the build runs,
>         *before* the modification checks -->
>     <bootstrappers>
>             <!-- <antbootstrapper anthome="apache-ant-1.7.0" buildfile="projects/${project.name}/build.xml" target="clean" /> -->
>     </bootstrappers>
>     <!-- Defines where CruiseControl looks for changes, to decide
>          whether to run the build -->
>     <modificationset quietperiod="10">
>       <filesystem folder="projects/${project.name}"/>
>     </modificationset>
>     <!-- Configures the actual build loop, how often and which
>          build file/target -->
> 	<schedule interval="60">
> 		<exec workingdir="c:\CruiseControl\projects" 
> 		command="c:\CruiseControl\projects\wsant-RSF.bat" 
> 		args="RSF -buildfile -c:\CruiseControl\projects\RSF\build-all2.xml" />			
> 	</schedule>
>     <!-- directory to write build logs to -->
>     <log/>
>     <!-- Publishers are run *after* a build completes -->
>     <publishers>
>             <onsuccess>
>                 <artifactspublisher dest="artifacts/${project.name}" file="projects/${project.name}/target/${project.name}.jar"/>
>             </onsuccess>
>     </publishers>
>   </project>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.