Search code examples
maven-2hudsonclearcase

Pre-Pre-build Steps in Hudson


I'm in a bit of a pickle. I'm trying to run some environmental scripts before I run the build in a m2 project, but it seems no matter how hard I try - the 'pre' build script are never run early enough.

Before the 'pre-build' scripts are run, the project checks to see if the correct files are in the workspace - files that won't be there until the scripts I've written are executed.

To make them 'pre-build', I'm using the M2 Extra Steps plugin - but's it's not 'pre' enough.

Has anyone got any suggestions as to how I can carry out what I want to do?

Cheers.


Solution

  • My problem stemmed from the fact I wanted to set-up my workspace before I ran anything due to an issue with Dynamic Views (ClearCase) not being accessible from the workspace - I wanted to add a symlink to fix this.

    However, Andrew Bayer has made a change to the plugin that I'm currently testing that should fix this...so the question is probably invalid in it's current form.

    Will edit it once we come to a conclusion.