[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] Rebuild CodeQL builds



Occasionally, CodeQL builds will fail stating that no code was discovered.
Force CodeQL builds to rebuild to avoid this issue.

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx>
---
 msbuild.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/msbuild.ps1 b/msbuild.ps1
index c6fb48a..7696795 100644
--- a/msbuild.ps1
+++ b/msbuild.ps1
@@ -98,7 +98,7 @@ Function Run-CodeQL {
        }
        $a = "msbuild.exe"
        $a += " /m:4"
-       $a += " /t:Build"
+       $a += " /t:Rebuild"
        $a += [string]::Format(" /p:Configuration=""{0}""", $Configuration)
        $a += [string]::Format(" /p:Platform=""{0}""", $Platform)
        $a += [string]::Format(" /p:SignMode=""{0}""", $SignMode)
-- 
2.39.0.windows.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.