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

If I build subproject only version of Azkaban is 0.0.1-SNAPSHOT #3329

Open
dzavodnikov opened this issue Oct 4, 2023 · 2 comments
Open

If I build subproject only version of Azkaban is 0.0.1-SNAPSHOT #3329

dzavodnikov opened this issue Oct 4, 2023 · 2 comments

Comments

@dzavodnikov
Copy link

If I build only subproject (like azkaban-solo-server) I have Azkaban version 0.0.1-SNAPSHOT in Web UI.

@dzavodnikov
Copy link
Author

I suppose, that it happens because plugin com.cinnober.gradle:semver-git applied when I build whole project.
If I build subproject:

./gradlew :azkaban-solo-server:installDist

version will not be set up.

@astrapotro
Copy link

Here's my fix:
~$ grep -r AZKABAN_VERSION *
Dockerfile:ENV AZKABAN_VERSION "3.90.0"
Dockerfile: RUN curl -o azkaban.zip -L -X GET "https://github.com/azkaban/azkaban/archive/${AZKABAN_VERSION}.zip"
Dockerfile: && cd azkaban/azkaban-${AZKABAN_VERSION}
Dockerfile: && sed -i 's/rootProject.version/System.getenv("AZKABAN_VERSION")/g' build.gradle \

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