Atul Sureka
Atul Sureka

Reputation: 3302

Can I set the build number in VSTS build

When I create a new build definition then build number starts with 1. It gets increment with each build.

Can I set the initial build number instead it takes the default value (1)?

In the existing build definition can I bump the number, assume current build number is 1345, I want to add a offset of 1000 so that build number would be 2345?

Upvotes: 1

Views: 4244

Answers (2)

Daniel Mann
Daniel Mann

Reputation: 58980

Point of clarification: What you're talking about is the build ID, not the build number.

You can control the build number format as described in Shayki's answer.

However, the build id is a system-controlled unique identifier that you cannot change.

Upvotes: 2

Shayki Abramczyk
Shayki Abramczyk

Reputation: 41545

You can determine the build number format in the Options tab: enter image description here

Upvotes: 0

Related Questions