OK, so since you’re mounting those folders:

[snip]
    -v $HOME/.m2:/home/dummy/.m2 \
    -v $HOME/.buildr:/home/dummy/.buildr \
[snip]

You probably also want to mount your .gitconfig:
  -v $HOME/.gitconfig:/home/dummy/.gitconfig

This way git can pick up your git global config.

> On Nov 8, 2016, at 12:08 PM, Sathwik B P <sathwik...@gmail.com> wrote:
> 
> This is shell that starts the container
> https://github.com/apache/ode/blob/ode-1.3.x/ci-build.sh
> 
> On Nov 9, 2016 1:31 AM, "Sathwik B P" <sathwik...@gmail.com> wrote:
> 
>> Hi Antonie,
>> Second time when I ran the mock by setting it @project level it succeeded.
>> But I completly forgot to do that during the Apache release.
>> 
>> https://github.com/sathwik/docker-buildr/blob/master/jruby-jdk7/Dockerfile
>> 
>> On Nov 9, 2016 1:25 AM, "Sathwik B P" <sathwik...@gmail.com> wrote:
>> 
>>> Just to mention that I had used locally installed Apache Archiva to mock
>>> the release few days ago where It had failed for the same reason.
>>> My bad, just forgot to make the same change for the release yesterday and
>>> encountered the same problem.
>>> 
>>> On Nov 9, 2016 1:18 AM, "Sathwik B P" <sathwik...@gmail.com> wrote:
>>> 
>>>> Hi guys,
>>>> Just figured out yesterday while making a release of Apache ODE that
>>>> buildr 1.4.5 doesn't honour git global config user.name/user.email.
>>>> 
>>>> The settings have to be done @project level otherwise, at the time of
>>>> committing next version and tagging it fails.
>>>> 
>>>> By the way we use buildr dockerized container for the build.
>>>> 
>>>> Regards,
>>>> Sathwik
>>>> 
>>> 

Reply via email to