如果我们在公司内部使用GitHub Enterprise并且启用了私有模式,那么公共和私人仓库之间有什么不同?
下面是在 Jenkins 中运行的三个 PowerShell 命令和构建结果。为什么会失败?哪个命令可能失败?我读过这篇文章:Execute Shell 如何/何时将 Jenkins 中的构建标记为失败?,却想不通。我不熟悉 MS 的东西。
命令 1:
& "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.com" "$env:WORKSPACE\ETL\OnePnL.sln" /Build
Run Code Online (Sandbox Code Playgroud)
命令 2:
###########################
# Deploy SSIS package #
###########################
$csource ="$env:WORKSPACE\ETL\Project Type 0\bin\DEFAULT\OnePnL.ispac"
$cserver = "SSASDBDEV01"
$cdest = "/SSISDB/OnePnL/OnePnL"
echo $env:GIT_BRANCH
if ($env:GIT_BRANCH -like '*master*')
{
# Call IS Deployment Wizard
echo "Deploying SSIS package to $cdest on $cserver"
# "C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\ISDeploymentWizard.exe" "/Silent /SourcePath:""$csource"" #/DestinationPath:""$cdest"" /DestinationServer:""$cserver""" -Wait
Start-Process "C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\ISDeploymentWizard.exe" …Run Code Online (Sandbox Code Playgroud)