-
Notifications
You must be signed in to change notification settings - Fork 549
Closed
Description
Describe the bug
(As discussed with @rohanKanojia on Gitter)
jKube does not update pom version and git information in labels (.metadata.labels.version) and annotations (jkube.io/git-branch and kube.io/git-commit) with current information from the Maven build. Instead the information is just copied from the BuildConfig.
Tested on OpenShift 4.12 with Maven 3.9.4 and jKube 1.3.0 (from Red Hat Fuse)
Eclipse JKube version
1.3.0
Component
Kubernetes Maven Plugin
Apache Maven version
other (please specify in additional context)
Gradle version
None
Steps to reproduce
- Build and apply a project to OpenShift (creating a BuildConfig and a Build)
- Update to new GitBranch and commit a new POM version.
- Do a mvn oc:build
- Verify that latest OpenShift Build has updated to POM version and Git commit/branch in labels and annotations.
Expected behavior
Latest OpenShift Build should be updated with latest POM version and Git information (branch and commit key)
Runtime
OpenShift
Kubernetes API Server version
other (please specify in additional context)
Environment
macOS
Eclipse JKube Logs
No response
Sample Reproducer Project
No response
Additional context
No response
rohanKanojia and manusa
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working