check the build result
This commit is contained in:
parent
78efe3c451
commit
0eed0e7d16
5
.jenkins/Jenkinsfile
vendored
5
.jenkins/Jenkinsfile
vendored
@ -50,6 +50,11 @@ pipeline {
|
|||||||
echo " == Build == "
|
echo " == Build == "
|
||||||
%msbuild% %WORKSPACE%\\publish.proj /t:PrecompileWeb
|
%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"
|
echo "Add changelog.xml for check build information"
|
||||||
curl -k -s -u %jenkins_user%:%jenkins_token% "%BUILD_URL%api/xml" > %WORKSPACE%\\Precompiled\\changelog.xml
|
curl -k -s -u %jenkins_user%:%jenkins_token% "%BUILD_URL%api/xml" > %WORKSPACE%\\Precompiled\\changelog.xml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user