Skip to content

Option to not emit vso[build.updatebuildnumber] to prevent pipeline warnings #1189

@MattKotsenas

Description

@MattKotsenas

My organization disallows setting the build number via the logging command:

##[warning]##vso[build.updatebuildnumber] is not allowed in this step due to policy restrictions. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)

However, running nbgv cloud is still useful because it's allowed to set the environment variables, which I can use to set the build number in a supported manner.

It might be niche, but is it possible to add an option to prevent emitting this log line, since it results in a warning that I don't believe there's any other way to suppress?

Or if you have any thoughts or other workarounds, please let me know. Thanks!

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