On Sat, Sep 1, 2012 at 10:10 AM, Andrea Aime
<[email protected]>wrote:

> On Sat, Sep 1, 2012 at 5:35 PM, Justin Deoliveira <[email protected]>wrote:
>
>> and so on, so changed the way the command was run to first create the
>>> "GeoTools 8 Releases"
>>> if missing, and then do the rsych... run again, but my changes did not
>>> take.
>>> Looking on hudson found out the release-publish command was not linked
>>> to git,
>>> so I looked into the build one and copied over the necessary
>>> configurations
>>> (and this might have been a mistake).
>>>
>>
>> The change to the artifact directory groupings make sense.
>>
>> As for the release-publish job configuration this was intentional. If you
>> open up the advanced option you will see it uses the same workspace as the
>> release-build job. But you are right this won't update the master branch if
>> you only run release-publish. THere should be no problem in having that
>> happen though.
>>
>
> Aah, I see. Shall we add a "git pull geotools master" at the beginning of
> the script then?
>

Well... i am not sure this will help since the bash scripting running
everything has already been loaded. I think the only way to support changes
to the scripting between the time the release and release-publish jobs are
run is to re-enable the git configuration you added, Which should work fine
even with two jobs sharing a workspace. Just as long as we enable "skip
internal tag" it should be ok.

>
> Anyways, removed the git configuration, leaving the advanced one in place,
> and now I get:
>
>
> Started by user hudson
> [release] $ /bin/sh -xe /var/cache/jetty/data/hudson3028067686826841094.sh
> + set -x
> + export
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-6-sun/bin
> + cd build/release
> + ./publish_release.sh 8.1 8.x aaime [email protected]
> error: pathspec 'rel_8.1' did not match any file(s) known to git.
> [DEBUG] Skipping watched dependency update for build:
> geotools-release-publish #13 due to result: FAILURE
> Finished: FAILURE
>
> Err... what? I believe this is git telling me it does not have the local
> rel_8.1 branch,
> yet this one should have been built by the scripts creating the release
> artifacts before...
> puzzling...
>

Ok... it looks like the changing of configuration wiped out the custom
workspace parameter so it wasn't working from the same repo the other jobs
are. Should be fixed now.

>
>
>> Yeah. this happens when hudson tires to tag every build in the local git
>> repo. I usually turn this off because i don't have the local identity for
>> the user that runs hudson. The option is called "skip internal tag". I just
>> updated the git config  you added to release-publish to skip internal tag
>> so this should go away.
>>
>
> Gotcha
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:   +39 0584 962313
> mob:   +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to