Forum Discussion
The issue with the database connection is local to the docker execution. Running without the image works fine. The project file requires my.jdbc.url but is not passed in this case, but works fine e.g. if I run command line using the testrunner.bat.
docker run -t -d -u 2287:2287 --security-opt label=disable -v /etc/ca-trust:/etc/ca-trust:ro --device=/dev/fuse --ulimit=host -u root:root --entrypoint= -v=/var/lib/jenkins/workspace/job/dbextension:/ext -e SLM_LICENSE_SERVER=http://xx:1099 -e API_KEY=* -e 'COMMAND_LINE= -Dfile.encoding=UTF-8 -Gmy.jdbc.url=jdbc:mysql://remote-server:6446/databasename?user=username&password=plainpassword222 -Gmy.jdbc.driver=com.mysql.cj.jdbc.Driver -f/var/lib/jenkins/workspace/job/soapui/reports soapui-project.xml -j -a -r "-sTestSuite Ping"' ....
java.sql.SQLException: Access denied for user ''@'remote-server'
ERROR: script returned exit code 103
Related Content
- 3 years ago
Recent Discussions
- 22 days ago