|
List Info
Thread: Making a CC project depend on another CC project
|
|
| Making a CC project depend on another
CC project |
  United States |
2007-04-12 11:57:25 |
|
| Is it possible to
make a CC project depend on another CC project?
What I'm trying to
do is make sure the latest db schema exists so what I was thinking is I'd set up
2 CC projects, for example:
project-A
and
project-A-DB
So when project-A
would look to make sure that project-A-DB was run first and then project-A would
start (if project-A-DB either finished successfully or didn't need to do
anything, then project-A would start up).
Does this seem like
a reasonable approach or is there a better
way? |
| Re: more than one Maven goal |
  United States |
2007-04-12 14:03:48 |
|
I think I discovered my problem. I was trying to schedule
more than one action. Prior to my maven2 action, I wanted to run a short script
with the <exec> element. Only the first task was being executed. I had
thought the clean goal was being executed, but, it was left over from an earlier
manual operation. I should have been using the bootsrapper-execbootstrapper
element.
From: Ross, Bryan M Sent: Thursday,
April 12, 2007 10:18 AM To:
cruisecontrol-user lists.sourceforge.net Subject: [Cruisecontrol-user]
more than one Maven goal
My project schedules a Maven process with
two goals. The clean appears to happen, but I am pretty sure the install goal is
not done. When I try those goals by hand ( i.e., mvn clean...mvn install) , for
instance, I get the expected results; but when CC executes a scheduled build on
my maven project, only the clean is executed.
Is it bad syntax to have the two goals,
clean and install, on the same line with a space between them? Do I need to
specify each goal separately, i.e goal= ... goal= ? The
example on the CC page shows "clean compile". Why wouldn't "clean install"
work?
From my config.xml
file:
...
<schedule
interval="300">
<maven2 pomFile="mydir/pom.xml" mvnscript="/mavendir/maven/bin/mvn"
goal="clean
install">
</maven2>
</schedule>
... |
| more than one Maven goal |
  United States |
2007-04-12 12:18:21 |
|
| My project schedules a Maven process with
two goals. The clean appears to happen, but I am pretty sure the install goal is
not done. When I try those goals by hand ( i.e., mvn clean...mvn install) , for
instance, I get the expected results; but when CC executes a scheduled build on
my maven project, only the clean is executed.
Is it bad syntax to have the two goals,
clean and install, on the same line with a space between them? Do I need to
specify each goal separately, i.e goal= ... goal= ? The
example on the CC page shows "clean compile". Why wouldn't "clean install"
work?
From my config.xml
file:
...
<schedule
interval="300">
<maven2 pomFile="mydir/pom.xml" mvnscript="/mavendir/maven/bin/mvn"
goal="clean
install">
</maven2>
</schedule>
... |
| Re: Making a CC project depend on
another CC project |

|
2007-04-13 02:35:12 |
That's the use case the veto modificationset (new in CC
version 2.6.1)
has been designed for.
See http://cruisecontrol.sourceforge.net/main/configxml
.html#veto for
reference.
-Gisbert
EJ Ciramella wrote:
> Is it possible to make a CC project depend on another
CC project?
>
> What I'm trying to do is make sure the latest db schema
exists so what I
> was thinking is I'd set up 2 CC projects, for example:
>
> project-A
>
> and
>
> project-A-DB
>
> So when project-A would look to make sure that
project-A-DB was run
> first and then project-A would start (if project-A-DB
either finished
> successfully or didn't need to do anything, then
project-A would start up).
>
> Does this seem like a reasonable approach or is there a
better way?
>
>
>
------------------------------------------------------------
------------
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
>
------------------------------------------------------------
------------
>
> _______________________________________________
> Cruisecontrol-user mailing list
> Cruisecontrol-user lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user
--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: gisbert.amm 1und1.de
Internet: www.1und1.de
1&1 Internet AG
Elgendorfer Strasse 57
56410 Montabaur
Amtsgericht Montabaur HRB 6484
Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger
(Vorsitzender), Matthias Greve, Hans-Henning Doerr, Henning
Ahlert,
Achim Weiss, Robert Hoffmann,
Aufsichtsratsvorsitzender: Michael Scheeren
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user
|
|
| Re: Making a CC project depend on
another CC project |
  United States |
2007-04-14 22:04:00 |
There are really 3 things that come up with dependent
projects:
1) How to make Project B build if something changes in
Project A, but
nothing is committed to project B?
http://cruisecontrol.sourceforge.net/main/co
nfigxml.html#buildstatus
2) What if project A has changes that project B is dependent
upon, how
to keep project B from running until all changes from
Project A are
verified.
- This is what the Veto modifications set solves as you have
indicated
below.
3) If you are running multiple threads, then Project A and
Project B
cannot run at the same time. You then have to use the
lockfilebootstrapper and lockfilelistener to make sure that
the two
projects don't run at the same time.
http://cruisecontrol.sourceforge.ne
t/main/configxml.html#lockfilebootstrapper
http://cruisecontrol.sourceforge.net/ma
in/configxml.html#lockfilelistener
-Al
Gisbert Amm wrote:
> That's the use case the veto modificationset (new in CC
version 2.6.1)
> has been designed for.
>
> See http://cruisecontrol.sourceforge.net/main/configxml
.html#veto for
> reference.
>
> -Gisbert
>
> EJ Ciramella wrote:
>
>> Is it possible to make a CC project depend on
another CC project?
>>
>> What I'm trying to do is make sure the latest db
schema exists so what I
>> was thinking is I'd set up 2 CC projects, for
example:
>>
>> project-A
>>
>> and
>>
>> project-A-DB
>>
>> So when project-A would look to make sure that
project-A-DB was run
>> first and then project-A would start (if
project-A-DB either finished
>> successfully or didn't need to do anything, then
project-A would start up).
>>
>> Does this seem like a reasonable approach or is
there a better way?
>>
>>
>>
------------------------------------------------------------
------------
>>
>>
------------------------------------------------------------
-------------
>> Take Surveys. Earn Cash. Influence the Future of
IT
>> Join SourceForge.net's Techsay panel and you'll get
the chance to share your
>> opinions on IT & business topics through brief
surveys-and earn cash
>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>>
>>
------------------------------------------------------------
------------
>>
>> _______________________________________________
>> Cruisecontrol-user mailing list
>> Cruisecontrol-user lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user
>>
>
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crui
secontrol-user
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|