Adxpublisher in automatic build system

Add-in Express™ Support Service
That's what is more important than anything else

Adxpublisher in automatic build system
What is the return code from adxpublisher command in case of an error? 
Dirk




Posts: 73
Joined: 2017-10-05
Hello,
I want to use adxpublisher in a Continous Delivery environment. Therefor I need to know if the adxpublisher succeeded or not. Is there a way to figure out if the command succeeded?

e.g.
adxpublisher ..
echo %ERRORLEVEL%

does not work and returns always 0

Best Regards
Dirk
Posted 10 Apr, 2018 06:49:45 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Dirk,

adxpublisher doesn't return a result. To bypass this, you can use PostBuildCommandLine to create a file and check if the file exists after the publisher complete execution.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2018 08:08:00 Top