check the build result

This commit is contained in:
AlexandrKharitonov 2021-12-06 16:00:08 +03:00
parent 78efe3c451
commit 0eed0e7d16

View File

@ -50,6 +50,11 @@ pipeline {
echo " == Build == "
%msbuild% %WORKSPACE%\\publish.proj /t:PrecompileWeb
if not %errorlevel% == 0 (
echo "Error: cannot deploy the project"
exit -1
)
echo "Add changelog.xml for check build information"
curl -k -s -u %jenkins_user%:%jenkins_token% "%BUILD_URL%api/xml" > %WORKSPACE%\\Precompiled\\changelog.xml