No licence specified when triggering *.bat with Jenkins

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
markusflow
Posts: 50
Joined: Tue Apr 30, 2019 4:29 pm

No licence specified when triggering *.bat with Jenkins

Unread post by markusflow »

Hi all,

I updated my H&M7 Pro version to H&M8. I have a lot of bat files that compile all my documents.
To keep track, i have installed a local Jenkins that runs the *.bat. files.

When executing a bat file with Jenkins, I get the message:

# Keine Lizenz angegeben. Tragen Sie die Lizenz ein in der Datei "C:\Program Files (x86)\EC Software\HelpAndManual8\HELPMAN.lic".

Compilation for H&M directly works. Executing the bat file manually works as well.

With H&M7 Pro, everything works as expected.
User avatar
Tim Green
Site Admin
Posts: 23153
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: No licence specified when triggering *.bat with Jenkins

Unread post by Tim Green »

Hi Markus,

Everything is fine, it's just that the license system works a little differently now. You need to register again with the command line if you are also going to use your license as a build server. This doesn't cost anything and works the same for both Pro and Floating licenses. Use this command:

Code: Select all

<path>HELPMAN.EXE /LIC:XXXXXXXXXXXXX
Where the xxxx are your license key. The computer must be connected to the Internet and there should be nothing else on the command line. This only needs to be done once. After that, you can use HM on that computer in build server mode as well.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
markusflow
Posts: 50
Joined: Tue Apr 30, 2019 4:29 pm

Re: No licence specified when triggering *.bat with Jenkins

Unread post by markusflow »

15 minutes for a reply with the final solution. :applaud:

Thanks Tim!
Post Reply