Dotfuscator Pro cannot read licensing information in Jenkins buildserver

I am trying to run Dotfuscator Pro 4.13 between unit tests and creating an installation package. The buildserver we use is Jenkins 1.487 on Windows Server 2008 R2.

The command line for dotfuscator is very simple, I use / q and specify the xml configuration file. It works like a charm when I manually run the exact command from the command line.

But when the same commands are executed by Jenkins, the following error is logged:

Use of this software implies acceptance of a companion license agreement. LICENSED: SERIAL #: Before using Dotfuscator, you must first accept the end user license agreement.

For some reason, Dotfuscator cannot read licensing information when it is managed by Jenkins. I cannot find information about this, but something tells me that this is due to the fact that Jenkins is running under. What am I missing?

+4
source share
2 answers

As I thought, this is due to what is related to the user. this problem assumes that the user Jenkins is working with has never accepted the Dotfuscator user agreement. This can be solved in two ways:

Or you log in with a user who starts automatic assembly and starts the Dotfuscator GUI, and accept the license agreement

Or you can copy the following files:

C:\Users {, / }\AppData\Local\PreEmptive Solutions\Dotfuscator Professional Edition\4.0\dfusrprf.xml
C:\Users {, / }\AppData\Local\PreEmptive Solutions\Dotfuscator Professional Edition\4.0\dotfuscator.cfg
C:\ProgramData\PreEmptive Solutions\Dotfuscator Professional Edition\4.0\dotfuscator.dat

dotfuscator ( C:\Program Files (x86)\PreEmptive Solutions\Dotfuscator Professional Edition 4.13.0).

+6

Team Foundation Build Service, Windows Server 2012.

Dotfuscator:

, :

C:\Users {, dotfuscator}\AppData\Local\PreEmptive Solutions\Dotfuscator Professional Edition\4.0\dfusrprf.xml C:\Users {, dotfuscator}\AppData\Local\PreEmptive Solutions\Dotfuscator Professional Edition\4.0\dotfuscator.cfg

, .

NT AUTHORITY\NETWORK SERVICE. :

% SystemRoot%\ServiceProfiles\NetworkService

:

C:\Windows\ServiceProfiles\NetworkService

+1

Source: https://habr.com/ru/post/1543055/


All Articles