Skip to content

executable not run when invoked from gitlab-runner

Hi,

I've got .exe file that is run within PowerShell script. When invoking script from command-line everything works fine, but when invoked from Pipeline by GitLab-Runner all script is run except External_Executable call.

I'm invoking it like this:

& "External_Executable" "$SomeArg"

I thought it might be problem with PowerShell interpreter and moved invocation to external bash script, but still - .sh script runs (getting echo form inside) and External_Executable is not executed.

sh ".\call-External_Executable.sh"

Any ideas what can cause problem here? Would be grateful for any suggestions.

Thanks, K.

Edited by karol legaszewski