0

I'm sorry if this question has already been posted but i have a problem to execute an xlsm file from Jenkins Job with the Execute Batch Command.

I've tried this "C:...\myfile.xlsm" it doesn't seem to work. So i've made some research and found this topic : Open Excel on Jenkins CI

However, when i put the command with -accepteula, i have this message : This program is blocked by a group policy. For more information, contact your system adminitrator.

Do you have any idea ?

Thank you for your answers.

Community
  • 1
  • 1
Denis
  • 111
  • 1
  • 1
  • 6
  • 1
    Did you contact system admin? – Jayan Sep 01 '15 at 16:25
  • From the question you linked- are trying to allow jenkins to interact with GUI session? Running jenkins slave as "a program on desktop" (JNLP) will help. – Jayan Sep 01 '15 at 16:27
  • It worked ! Jenkins was running as a Windows Service, but when it's not, the previous command "C:...\myfile.xlsm" in Execute Batch Command works fine ! Thank you Jayan ! – Denis Sep 02 '15 at 08:13
  • :). I provided it as answer for future :) – Jayan Sep 02 '15 at 08:16

1 Answers1

0

From the question you linked- It looks like you want to allow jenkins to interact with GUI session

Running jenkins slave as "a program on desktop" (JNLP) will help.

Jayan
  • 18,003
  • 15
  • 89
  • 143