diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 86b916460..d248cf787 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -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