Skip to content

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

@jenkins-infra-bot

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions