I have a configuration that has a build condition scripts where it modifies a variable that is being used as the Change Number in a Perforce repository.
But when the build automatically runs, the log states that is checking out an older number revision instead of the one that the build condition script changed, and when you check the build variables the change number variable is fine, and seems like the repository didn't update correctly.
Could this be a problem of the build condition not giving enough time to the repository to update?
Is there a way to update the repository variables when the build is already running, like on an execute script step?