diff --git a/Jenkins/Installation/Jenkinsfile b/Jenkins/Installation/Jenkinsfile index 18ac6b7fcc..336938e31f 100644 --- a/Jenkins/Installation/Jenkinsfile +++ b/Jenkins/Installation/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { parallel { stage('Documentation') { agent { - label "windows" + label "windows && installation" } environment { APSIM_SITE_CREDS = credentials('apsim-site-creds') @@ -32,7 +32,7 @@ pipeline { } stage('Windows') { agent { - label "windows" + label "windows && installation" } environment { APSIM_SITE_CREDS = credentials('apsim-site-creds') @@ -57,7 +57,7 @@ pipeline { } stage('MacOS') { agent { - label "windows" + label "windows && installation" } environment { APSIM_SITE_CREDS = credentials('apsim-site-creds') @@ -82,7 +82,7 @@ pipeline { } stage('Debian') { agent { - label "windows" + label "windows && installation" } environment { APSIM_SITE_CREDS = credentials('apsim-site-creds') @@ -109,7 +109,7 @@ pipeline { } stage('Deploy') { agent { - label "windows" + label "windows && installation" } environment { CHANGE_DB_CREDS = credentials('change-db-creds') diff --git a/Jenkins/UploadDocumentation.bat b/Jenkins/UploadDocumentation.bat index 2d655d2f83..a3626aef27 100644 --- a/Jenkins/UploadDocumentation.bat +++ b/Jenkins/UploadDocumentation.bat @@ -17,6 +17,6 @@ for /r %apsimx%\Documentation\PDF %%D in (*.pdf) do ( rename "%%D" "!NEW_NAME!" set "FILE=%%~dpD!NEW_NAME!" echo Uploading "!FILE!" - @curl -u !APSIM_SITE_CREDS! -T !FILE! ftp://www.apsim.info/APSIM/ApsimXFiles/ + @curl -s -u !APSIM_SITE_CREDS! -T !FILE! ftp://www.apsim.info/APSIM/ApsimXFiles/ ) endlocal \ No newline at end of file diff --git a/Jenkins/build.bat b/Jenkins/build.bat index 73d0822b03..1878a41e07 100644 --- a/Jenkins/build.bat +++ b/Jenkins/build.bat @@ -38,6 +38,12 @@ if not exist "%solution_file%" ( exit /b 1 ) +rem Copy DeploymentSupport files. +echo Copying DeploymentSupport files... +xcopy /e /i %apsimx%\DeploymentSupport\Windows\Bin64\lib %apsimx%\lib>nul +copy /y %apsimx%\DeploymentSupport\Windows\Bin64\* %apsimx%\Bin>nul +echo Done. + rem Restore NuGet packages. echo Restoring NuGet packages... pushd "%apsimx%">nul diff --git a/Setup/Linux/BuildDeb.bat b/Setup/Linux/BuildDeb.bat index 804aa82899..f13ea07fe4 100644 --- a/Setup/Linux/BuildDeb.bat +++ b/Setup/Linux/BuildDeb.bat @@ -1,4 +1,4 @@ -@echo on +@echo off set "PATH=%PATH%;C:\Utilities" if Exist Apsim.deb Del Apsim.deb rem Get the current version number diff --git a/Setup/osx/BuildMacDist.bat b/Setup/osx/BuildMacDist.bat index 5441c98940..31400b408c 100644 --- a/Setup/osx/BuildMacDist.bat +++ b/Setup/osx/BuildMacDist.bat @@ -1,4 +1,4 @@ -@echo on +@echo off setlocal enabledelayedexpansion if "%apsimx%"=="" ( pushd %~dp0..\..>nul