Open-EO / openeo-opensearch-client

Simple opensearch client for openeo.
Apache License 2.0
0 stars 0 forks source link

Jenkins pushes SNAPSHOTs from unfinished feature branches to Artifactory #4

Open bossie opened 1 year ago

bossie commented 1 year ago

I tried to build openeo-geotrellis-extensions that has a dependency on openeo-opensearch-client:1.0.0_2.12-SNAPSHOT.

The problem is that that SNAPSHOT jar is also built from unfinished feature branches and automatically pushed to Artifactory; this makes the openeo-geotrellis-extensions build fail.

EmileSonneveld commented 1 year ago

This probably refers to the 'fuzzy-dedup' branch. I made a reverse commit to undo any changes for the moment. Tomorrow I can check if I can change the build behavior.

bossie commented 1 year ago

I don't know in what context an openeo_opensearch_client branch was created in jenkinslib but it seems like a crucial line from the master branch is missing:

https://git.vito.be/projects/BIGGEO/repos/jenkinslib/browse/vars/javaPipeline.groovy?at=45e0ca3b9bd5d9d99d0f9dfd4cd87d48e2b7673e#143

bossie commented 1 year ago

Thomas Cassaert implemented a way to only enable the master branch:

I disabled them manually now. If someone runs the seed_job, it will be reverted

bossie commented 1 year ago

As yet another workaround, build the master branch manually to "hide" the SNAPSHOT jar that the feature branch produces.