Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins pushes SNAPSHOTs from unfinished feature branches to Artifactory #4

Open
bossie opened this issue Dec 22, 2022 · 4 comments
Open

Comments

@bossie
Copy link
Contributor

bossie commented Dec 22, 2022

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
Copy link
Contributor

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
Copy link
Contributor Author

bossie commented Dec 23, 2022

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
Copy link
Contributor Author

bossie commented Dec 23, 2022

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
Copy link
Contributor Author

bossie commented Dec 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants