AtlasOfLivingAustralia / travis-build-configuration

travis-ci.org build configuration files shared/re-used among ALA projects
5 stars 8 forks source link

add support for travis-ci rebuild WITHOUT redeploy if rebuilding a RELEASE version #16

Open mbohun opened 9 years ago

mbohun commented 9 years ago

Since we changed (reverted to default) the nexus maven repo configuration, redeployment of already existing artefacts is disabled, and travis-ci.org reports build | failing for rebuild. This can/should be handled by the .travis file, by adding a simple if guard, that will at the end of every build:

This would be best added to ala_common.sh every ALA .travis file should source.

mbohun commented 6 years ago

This feature is still "kinda" relevant, for example if we add support to other alternative CI systems like:

Already existing RELEASE version of some artifact in a repo is not necessary an error, perhaps we can file/URL detect it and notify the perpetrator/culprit (developer) to double-check if they want to.