build Questions

Hello All, 

We call deploy scripts(cmd files) through our own make xml files from cruisecontrol. In the deploy CMD files there is error level return explicitly mentioned. But still cruise control does not catch the errors. Logs show it as failed but reports sucessfull. Below is how we call deploy scripts. 

1. from cruisecontrol config.xml we call our own xml file like below

<schedule  >

 <ant anthome="C:\bea103\modules\org.apache.ant_1.6.5" 

buildfile="V:\xxx\xxx\xxxx\mybuild.xml"

time="0330"

/>        

</schedule>

2. and that mybuild.xml content is as below 

<target name="xxxx">

       <exec dir="V:\xxx\xxx\xxx" executable="cmd.exe" output="checkETSApps.txt">

    <arg line="/c deploy.cmd"/>

  </exec>

</target>

3. and deploy.cmd content is as below 

call deploybackend.cmd(this telnets with servers)

IF ERRORLEVEL 1 EXIT /B 1

What are we missing here. Please advise. 

 

Hi everyone,

as always we love to get YOUR input on which topics we should be covering in the coming months. 
Obviously, DevOps is hot, Cloud & Mobile are essential. We have had many issues dedicated to CM for Small Teams, Process and more process and tips and strategies for Build Engineers.

What topics would you like us to cover? What topics would you like to write about yourself??
(Hint - I will help you! - just contact me directly)

Bob Aiello
Editor in Chief
http://www.linkedin.com/in/BobAiello
[email protected]

Hi Everyone!

this is a great time to get involved with CM Crossroads by submitting your own articles on software and systems development. CM Crossroads has always had a strong focus on Configuration Management within the full software and systems lifecycle and this means that we are interested in articles on a wide array of topics. Contact me directly to get involved with submitting your own articles and I will help you with getting started, forming your ideas and editing your article for publication.

Common topics include:

  • Build and Release Engineering
  • Source Code Management including branching and streams
  • Deployment Engineering (DevOps)
  • Development in the Cloud
  • Configuration Management (including the CMDB)
  • Continuous Integration and Deployment
  • Environment Management
  • Change Management

    and much more! 

    Bob Aiello
    Editor in Chief
    [email protected]

As there are many version control tools available, I want to know the diffenrences among them and benifites of them.

Many of us support automated Windows installation. I have used MS Build for some time and most recently got to play with ClickOnce which is great. But what about legacy Windows applications? Do you still use Wise or InstallShield? What are the best practices and best products for supporting legacy windows application installation?

Bob Aiello
Editor in Chief
http://www.linkedin.com/in/BobAiello
twitter: @bobaiello, @cmbestpractices

How does everyone like the new CM Crossroads website?

Bob Aiello
Editor in Chief

I'm interested in both:

1. Basic (must have) metrics

2. Advanced (good to have) metrics

I am using hudson for my continous integration build system. i need to / should not trigger the build if checkins happened on one particular depot of the client spec.

Scenario - My Client Spec is like this:
\a
\b
\c

I need a CI for files checkin only for a & c.

I need the depot b to be sync up to my workspace and dont want to trigger build for the files checked into that depot (all are just help files, so no need to trigger a build).

please provide me a solution for this issue.

Regards
Joe

Ex: in config.xml I have defined the property as:

<property name="build.name" value="TestBuild" />

and In build.xml for ${build.name} it should resolve to "TestBuild".

Appreciate your answers.

Our QA server is CA SCM R12 FP2. I created a one action workflow that performs hco from the entire repository ( -vp / -br -s "*" )

It errors out. Upon review, all the files checked out. I looked at the hco.log, and there is indeed an error, an E line claiming file.ext;2 is deleted.

Why is hco trying to check out removed items? New glitch in FP2 perhaps? Has anyone else seen this?

Additionally, I have R7 GA and R12 FP2 coexisting on my machine at the same time.

Thanks for any insight any of you may have!

Pages

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.