I am running into a problem when a new Kotlin change is submitted in perforce.
When our build flow starts a new build type it's build number does not correlate with the change submitted.
For example, all the old build types in our build flow will use CL1234, but the new build type will use CL1235. It increments for some reason.
We reference our build number pattern for build types in our Kotlin script like this: CL%build.vcs.number%.
It only occurs on the first addition of a new build type, then it starts functioning.
Does anyone have an idea why this can happen?