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!
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...
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
-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!
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...
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!
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!
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:
Here's an example usage from Windows:
C:\RTC-2.0.0.2-RC2\jazz\buildsystem\buildengine\eclipse>jbe -createPasswordFile c:\temp\passfile
*** Warning: password will be printed to the screen.
password: mypassword
Password stored in file: "c:\temp\passfile"
*** Warning: The password is encrypted to prevent casual observation, but a determined attacker may discover the password. The password file should be protected with operating system file permissions.
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
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