2 years ago

#74187

test-img

Priom Biswas

Problem running powershell command in Gitlab CI/CD

I am trying to run a GitLab CI/CD pipeline with a job listing like below:

test-win:
  stage: test
  tags: ["windows_test"]
  script:
    - 'cd .\Modules\de.test\eaYamlExportTestAutomation\bin\Debug'
    - 'powershell.exe .\EAYamlExporter.exe "Test-Architecture-CM --- ;Connect=Cloud=protocol:http,address:test.de,port:80,user:username,pwd:password;Data Source=Test-Architecture;DSN=Test-Architecture" C:\Users\de.test\testModel\behaviors\stateMachine GuidListBehaviors.txt'  
    - 'cd .\Libraries\de.test.project\'
    - 'mvn test'

Powershell command accesses models from Enterprise architect cloud and generates some log. The format of the command is:

EALogGenPlugin . exe <eap - file > < command for indicating exporter plugin needs to be invoked > < output folder > < text file containing list of UUIDs >

I am getting following error

Gitlab CI error

Is there any idea what can be the problem in the powershell script?

powershell

gitlab

gitlab-ci

enterprise-architect

0 Answers

Your Answer

Accepted video resources