Closed bonesoul closed 4 years ago
i fix this by adding;
// build configuration
var isAzurePipelines = TFBuild.IsRunningOnVSTS || TFBuild.IsRunningOnTFS;
Teardown(context =>
{
Information($"build done for version {version.FullSemVer}..");
if(isAzurePipelines) TFBuild.Commands.UpdateBuildNumber(version.FullSemVer);
});
so i guess somehow the task doesn't call TFBuild.Commands.UpdateBuildNumber itself.
@bonesoul I am going to go ahead and close this out, as I don't think this was an issue with the Cake Extension itself.
What You Are Seeing?
Once the cake job is completed over azure pipelines, it does not update the pipeline's build number
What is Expected?
It should be actually updating the build number. I've tracked this down to;
In this case my pipeline config
Async Command Start: Update Build Number
section is not executed at all)In this case my pipeline config is;
What version of Cake are you using?
cake: 0.31.0 cake vso: 0.3.0
Are you running on a 32 or 64 bit system?
64
What environment are you running on? Hosted? Custom?
Azure Pipelines
How Did You Get This To Happen? (Steps to Reproduce)
Output Log