RQM 6.0.2 Test Execution Tool ANT Task executeTestCaseExecRecord passwordFile parameter does not work
Hello,
I'm creating a ANT build to cover RTC and RQM tasks, things work fine when I pass the RQM task the password parameter and when I use the passwordFile parameter in the RTC tasks, but fail with a
illegal argument exception: problems processing password file error when using it the executeTestCaseExecRecord task.
Any pointers appreciated, as said above if I replace the passwordFile with password it works fine, but that isn't very secure!
Cheers
Richard
One answer
Hi Richard,
Hope this helps you.
Creating encrypted password files
You can create an encrypted password file that you can use with the Rational Team Concert™ Build toolkit Ant tasks or to start the Jazz™ Build Engine.
Procedure
- From a command line, navigate to installdir/buildsystem/buildengine/eclipse, where installdir is the Build System Toolkit installation directory.
-
Type
jbe -createPasswordFile pass.txt
.
Note: pass.txt can be any file name.
-
When prompted, type the password. The password is encrypted and stored in a pass.txt file that is located in the Build System Toolkit installation directory
Note: The password file is not strongly encrypted. Any user with access to the file can potentially decrypt it. Set appropriate operating system file permissions on the password file to prevent access from anyone other than the user running the Jazz Build Engine and the Ant tasks. The main benefit of using a password file instead of the password command line argument (for the Jazz Build Engine) or password attribute (for Ant tasks) is to avoid the password being repeated in the clear in build scripts, and the shell history.
Results
<startBuildActivity repositoryAddress="${repositoryAddress}"
userId="${userId}"
passwordFile="/home/user/pass.txt"/>
...
Comments
Richard Good
Oct 18 '17, 8:08 a.m.