jbe createPasswordFile option
Could someone please provide an example of using the jbe -createPasswordFile option? Either the documentation isn't clear or I'm misunderstanding it.
From what I understand, you use -createPasswordFile <absolute_file_path> along with the -pass <my_password> option. This should result in the specified password file being created which you can then subsequently use to start the jbe (and in your build scripts). When I run the following command, no file is created: jbe -pass <my_password> -createPasswordFile <some_path> I had this working before, but I had to change the password and I can't remember what I did the first time :( Thanks! |
9 answers
All you need is the "-createPasswordFile" parameter passed to the jbe. It
will then prompt you for a password which it will encrypt in a file that can be used with the "-passwordFile" parameter when you launch the engine to process builds. It can also be used in the build ant tasks through the use of the "passwordFile" attribute. Don Weinand Jazz Team Build "pravesh" <pravesh> wrote in message news:g8fiiq$oi$1@localhost.localdomain... Could someone please provide an example of using the jbe |
Thanks, that worked!
I think the docs are unclear in this area and the error messages you get when you do this incorrectly are cryptic at best. Perhaps the documentation could be improved in this area. Thanks again! |
I logged
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=60033 to get a help topic for this included in RTC. Don Weinand Jazz Team Build "pravesh" <pravesh> wrote in message news:g8frup$4of$1@localhost.localdomain... Thanks, that worked! |
On the iSeries version of the Jazz build engine the command to start the build engine is startup.qsh and when you run that with -createPasswordFile option it askes to to supply the repository and the userid. Two questions how do you specify what path you want the file to be created in. What does the screen look like to prompt for the password? Can some one provide some screen shots showing how this works? It has been very frustrationg because there is no documentation to explain how this works.
|
The -createPasswordFile option does not require a repository or user id, just a file path for the password file.
Here's an example usage from Windows:
|
The Build FAQ accurately describes the two usages:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#CommandLineOptions But I agree that JBE's description of its options is unclear. I've filed the following to fix this up (and cc'ed you): 102002: JBE is misleading in describing usage for -createPasswordFile. Sorry for the inconvenience, Nick |
Hi,
it's possible to use a passwordFile (originaly created for JBE) with plain API in order to login? Thanks, Michele |
Hi Michele,
The Java client API does not directly support using a password file. To see how JBE does this, take a look at the code in /com.ibm.team.build.toolkit/src/com/ibm/team/build/internal/PasswordHelper.java. |
Hi Nedgar,
thank you. I'll take a look at it. Best regards, Michele. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.