Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I stop CLI tests prompting for a password? (SQL Developer 4.2)

GJW1Apr 19 2017 — edited Apr 19 2017

Hi all,

I am trying to create a "headless" SQL developer install in order to run tests against an existing repository and hook into my Jenkins instance.

Following the instructions in Creating a connection using CLI fails , I have created two connections.

sdcli migration -actions=mkconn -connDetails=unit_test_repos_JIRA:oracle:unit_test_repos/password:jira:1521:jira

sdcli migration -actions=mkconn -connDetails=hr_JIRA:oracle:hr/password:jira:1521:jira

I execute the tests like this:

sdcli unittest -run -test -name V_CREATE_VIEW_FAILURE -repo unit_test_repos_JIRA -db hr_JIRA -log 1

However, I always get prompted for the passwords when I execute the tests:

[oracle@jira bin]$ sdcli unittest -run -test -name V_CREATE_VIEW_FAILURE -repo unit_test_repos_JIRA -db hr_JIRA -log 1

Oracle SQL Developer

Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.

Password for unit_test_repos_JIRA?

Password for hr_JIRA?

UT_SUCCESS

Command Completed.

How can I save the passwords along with the connection and remove the prompts?

Thanks in advance for any help.

Graham

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 17 2017
Added on Apr 19 2017
1 comment
237 views