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

Enable billing measure of GCP Jenkins workers #349

Open
gfroid79 opened this issue Jul 27, 2022 · 2 comments
Open

Enable billing measure of GCP Jenkins workers #349

gfroid79 opened this issue Jul 27, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@gfroid79
Copy link

gfroid79 commented Jul 27, 2022

What feature do you want to see added?

As a GCP customer, I'd like to set labels on the Jenkins workers created (the VMs), so that I can measure the cost of my Jenkins workers in my GCP billing reporting screen.

AC :

  • If a list of googleLabels ("key": "value") are set (in the Casc code or from configuration screen in Jenkins), then those labels are set to the created GCP VMs

Notes :

  1. I understand that googleLabels doesn't have the DataBoundSetter annotatation and thus cannot be set from Jenkins : https://github.com/jenkinsci/google-compute-engine-plugin/blob/develop/src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java#L288
  2. There are 2 existing labels (cf https://github.com/jenkinsci/google-compute-engine-plugin/blob/develop/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineCloud.java#L81), but it is not enought for me to differentiate the costs origine

Upstream changes

No response

@gfroid79 gfroid79 added the enhancement New feature or request label Jul 27, 2022
@pritishbisht
Copy link

hey @gfroid79 , I know I'm 1.5 yrs late but I've run into the same issue and would really appreciate if you could tell me how you got around this .

@gfroid79
Copy link
Author

gfroid79 commented Jan 4, 2024

I could not... Sorry !

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

No branches or pull requests

2 participants