Try -Pprofile1,profile2
Le 13 sept. 2013 14:16, "Philippe Cambien" <[email protected]> a
écrit :

> I tried it with maven clean install -Pprofile1 -Pprofile2 but he didn't
> seem to run the first profile.
>
>
> On Fri, Sep 13, 2013 at 2:15 PM, Baptiste Mathus <[email protected]>wrote:
>
>> Can't you just activate both profiles in a go?
>> Le 13 sept. 2013 10:07, "Philippe Cambien" <[email protected]> a
>> écrit :
>>
>>>  Hello,
>>>
>>> We have a Maven profile which contains a lot of long tests.
>>> Before we run these tests, we want to make sure that all dependencies
>>> are met ie. all systems are up and running.
>>> How can I configure a single job to run a Maven profile first and then
>>> the main profile?
>>> The main profile shouldn't start when the first profile has failed.
>>>
>>> I know you can also do this with two seperate jobs and let the second
>>> job only build when the first has failed. But we don't want to do this
>>> because we would have to make a job for every environment so we would have
>>> a lot of overhead in jobs.
>>>
>>> Any ideas?
>>> Thanks in advance!
>>>
>>> Cheers
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to