You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ContinuousIntegrationBuildCondition="'$(TEAMCITY_VERSION)' != '' AND '$(ContinuousIntegrationBuild)' != 'true'">true</ContinuousIntegrationBuild>
<!-- JetBrains Space https://www.jetbrains.com/help/space/automation-environment-variables.html#general -->
<ContinuousIntegrationBuildCondition="'$(JB_SPACE_API_URL)' != '' AND '$(ContinuousIntegrationBuild)' != 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
It feels like we should have an opinion on what the correct fix is here. The two main options I see are:
Recommend that people that use the BuildCheck not rely on the detection and instead pass /p:ContinuousIntegrationBuild=true directly when in CI
Allowlist these variables in some fashion. For that to work smoothly, we likely need to package an analyzerconfig with the values. It's also unclear if BuildChecks currently support packaged analyzerconfig files
The text was updated successfully, but these errors were encountered:
@baronfel, is there anywhere this is currently under discussion? I'm fine with either solution really, I think the main ask is to have a good doc of the rationale and suggested fixes.
Not currently - I just poked Rainer and Jared about this concept of package-provided configuration though. I think this might be a gap for buildchecks for .NET 9 GA compared to how Roslyn can discover editorconfig configs shipped in packages.
I hope where we end up is that this package could provide some customizations for buildchecks in the package and register those somehow in props, then have MSBuild handle things from there.
The upcoming BuildCheck to flag env var usage trigger on our ContinuousIntegrationBuild detection logic:
reproducible-builds/src/DotNet.ReproducibleBuilds/DotNet.ReproducibleBuilds.props
Lines 15 to 38 in 94faeb1
It feels like we should have an opinion on what the correct fix is here. The two main options I see are:
/p:ContinuousIntegrationBuild=true
directly when in CIThe text was updated successfully, but these errors were encountered: