Re: Cruisecontrol uses wrong environment
Pankaj Agarwal <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Could you please share the output of env from your console and cruisecontrol shell execution? I think the shell (ksh,csh,bash etc) is different in both the invocations but can't say for sure without more data. Thanks, Pankaj --- On Fri, 8/14/09, Stefan Pammer <[email protected]> wrote: From: Stefan Pammer <[email protected]> Subject: Re: [Cruisecontrol-user] Cruisecontrol uses wrong environment To: [email protected] Date: Friday, August 14, 2009, 4:20 AM Hmh. Sry that I confused you. Cruisecontrol actually runs on a SLES9. So the environment is linux. I just call my script temp.bat because I normally use Windows. On linux I should name it temp.sh temp.sh: env > /users/osr/osr-3-0-branch/variables.txt who > /users/osr/osr-3-0-branch/users.txt Just wanted to compare the environments. ;) Like I wrote before when I set the environment variables with a script which is executed by cruisecontrol it works. But this is no nice solution... Von: Pankaj Agarwal <[email protected]> An: [email protected] Gesendet: Donnerstag, den 13. August 2009, 22:39:08 Uhr Betreff: Re: [Cruisecontrol-user] Cruisecontrol uses wrong environment Stefan, You environment is windows so environment variables are pretty much static to all command shells. Could you please share with us the content of temp.bat file? Thanks, Pankaj --- On Thu, 8/13/09, Stefan Pammer <[email protected]> wrote: From: Stefan Pammer <[email protected]> Subject: [Cruisecontrol-user] Cruisecontrol uses wrong environment To: [email protected] Date: Thursday, August 13, 2009, 8:07 AM Hi there! The problem I'm facing is that my cruisecontrol uses an other environment than the shell uses. I wrote a little script which write the environments from the environment into a text file. When I execute this file with the shell all variables are correct. However, when the same script is used in the config.xml of cruisecontrol the variables from the environment differ. So I'm not able to build the project... Has anybody an idea? Would be great. ;) the project specified in the config.xml of cruisecontrol: <project name="osr-3-0-branch"> <listeners> <currentbuildstatuslistener file="logs/${project.name}/status.txt"/> </listeners> <bootstrappers> <antbootstrapper anthome="/users/osr/apache-ant-1.7.1" buildfile="/users/osr/projects/osr_readonly/branches/${project.name}/build.xml" target="clean" /> </bootstrappers> <modificationset quietperiod="30"> <filesystem folder="/users/osr/projects/osr_readonly/branches/${project.name}" /> </modificationset> <schedule interval="300"> <exec command="/users/osr/osr-3-0-branch/temp.bat" /> </schedule> </project> and here is the script: env > /users/osr/osr-3-0-branch/variables.txt who > /users/osr/osr-3-0-branch/users.txt Would be great if you could help me! Best Regards, Stefan -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -----Inline Attachment Follows----- _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -----Inline Attachment Follows----- _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user