How to Tag a Jenkins Build Itself (Not a Git Tag)

Hi everyone,

I’m using Jenkins for CI/CD and I wanted to ask:

Is there a way to tag or version a Jenkins build itself, similar to how GitHub Actions creates a release or tag after a successful workflow?

To clarify — I’m not looking to tag a Git repository. Instead, I want to assign a version label (e.g., v1.0.5) directly to a Jenkins build, so it’s visible in the UI or accessible via the Jenkins API.

I’ve considered using the build description or the Build Name Setter plugin, but I’d like to know:
I’ve considered using the build description or the Build Name Setter plugin, but I’d like to know:

  • Is there a standard or recommended way to tag/version Jenkins builds?

  • Can this be automated via pipeline or REST API?

  • Is there any plugin or best practice for managing these version labels?

Thanks in advance for any guidance!

I would say the Badge plugin is closest to what you want. You can add badges as pipeline steps

thanks for your reply
Is there any jenkins api to create version or by default?