Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Invalid tag name "&&" #13

Open
simonroloff opened this issue Apr 19, 2021 · 2 comments
Open

Invalid tag name "&&" #13

simonroloff opened this issue Apr 19, 2021 · 2 comments

Comments

@simonroloff
Copy link

Running the repo as is in JENKINS, I get the following error message. What can I do?

+ ./piper uiVeri5ExecuteTests
info  uiVeri5ExecuteTests - Using stageName 'System tests' from env variable 'STAGE_NAME'
info  uiVeri5ExecuteTests - Project config: NONE ('.pipeline/config.yml' does not exist)
info  uiVeri5ExecuteTests - running command: npm install @sap/cds --global --quiet && NPM_CONFIG_PREFIX=/home/node/.npm-global npm install @sap/cds-dk --global --quiet --force && NPM_CONFIG_PREFIX=/home/node/.npm-global npm install @ui5/uiveri5 --global --quiet && npm install --force && cd fiori && (/home/node/.npm-global/lib/node_modules/@sap/cds/bin/cds.js watch > cds.log 2>&1 &)
warn  uiVeri5ExecuteTests - npm WARN using --force I sure hope you know what you are doing.
error uiVeri5ExecuteTests - npm ERR! code EINVALIDTAGNAME
error uiVeri5ExecuteTests - npm ERR! Invalid tag name "&&": Tags may not have any characters that encodeURIComponent encodes.
info  uiVeri5ExecuteTests - 
error uiVeri5ExecuteTests - npm ERR! A complete log of this run can be found in:
error uiVeri5ExecuteTests - npm ERR!     /home/node/.npm/_logs/2021-04-19T09_56_23_301Z-debug.log
fatal uiVeri5ExecuteTests - step execution failed - failed to execute install command: npm install @sap/cds --global --quiet && NPM_CONFIG_PREFIX=/home/node/.npm-global npm install @sap/cds-dk --global --quiet --force && NPM_CONFIG_PREFIX=/home/node/.npm-global npm install @ui5/uiveri5 --global --quiet && npm install --force && cd fiori && (/home/node/.npm-global/lib/node_modules/@sap/cds/bin/cds.js watch > cds.log 2>&1 &): running command 'npm' failed: cmd.Run() failed: exit status 1
@georgbischoff
Copy link
Contributor

Hi, can you provide us some more details about the issue:

  • Did you follow the tutorial? On which step occurred this issue?
  • Is it possible to provide the pipeline code?
  • On which platform (Win, Mac, Linux) is the docker with Jenkins running?

@simonroloff
Copy link
Author

Hi @georgbischoff ,
thanks for coming back to me. if I remember correctly, I basically took the Jenkinsfile and tried to run it. I was searching for a running example of the piper step "uiVeri5ExecuteTests". We use Ubuntu for our Jenkins.
Concerning this issue, I am wondering if the "runCommand" parameter in the Jenkinsfile is correct for Linux...
In the meanwhile I ended up creating my own docker container with all dependencies to execute uiveri5-Tests, as nobody could help me get the above mentioned piper step running. So this issue is not relevant for me anymore.
thanks,
Simon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants