Skip to content

[JENKINS-4936] Version number environment variable should be visible in publishers #111

Description

@jenkins-infra-bot

Current implementation of versionnumber plugin sets environment variable only
for build, it is not available in build publishers. Attached is the patch making
it available both in build and publishers (tested with description setter -
setting description based on variable and with artifact publisher - getting
artifacts based on version number variable).

(Would have set versionnumber subcomponent but it's not on the list?)


Originally reported by raspy, imported from: Version number environment variable should be visible in publishers
  • assignee: clischeske
  • status: Open
  • priority: Major
  • component(s): versionnumber-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 0
  • imported: 20251216-225446
Raw content of original issue

Current implementation of versionnumber plugin sets environment variable only for build, it is not available in build publishers. Attached is the patch making it available both in build and publishers (tested with description setter - setting description based on variable and with artifact publisher - getting artifacts based on version number variable).

(Would have set versionnumber subcomponent but it's not on the list?)

  • environment: Platform: All, OS: All
1 attachment

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions