#264  CI pipeline is not executing commands as expected
Closed
Reopen
Sebastien Collier opened 3 months ago

In my .onedev-buildspec.yml I invoke a script that contains this line

install -D "${graphitedir}/opt-${arch}/lib/*.so*" "${appdir}/usr/lib

In my log output I have

15:13:56+ install -D '/onedev-build/workspace/build/lib*.so' /onedev-build/workspace/build/NodeServerAppDir/usr/lib
15:13:56install: cannot stat '/onedev-build/workspace/build/lib*.so': No such file or directory

Onedev is somehow adding in single quotes around glob expressions, making them fail.

Sebastien Collier changed fields 3 months ago
Name Previous Value Current Value
Priority Critical Major
Robin Shen changed state to 'Closed' 3 months ago
Previous Value Current Value
Open Closed

This is not a bug. As long as you quote (no matter it is double quote or single quote) the parameters, they will be treated literally.

issue 1 of 1
Type
Bug
Priority
Major
Assignee
Seen Builds
Milestone
No milestone
Issue Votes (0)
Watchers (3)
Reference
issue onedev-server#264
Please wait...
Page is in error, reload to recover