您可以建立一個加密密碼檔,以用於 Jazz™ Team Build 工具箱 Ant 作業,或用來啟動 Jazz Build Engine。
執行這項作業的原因和時機
如果要建立加密密碼檔,請執行下列動作:
- 從指令行中,導覽至 installdir/buildsystem/buildengine/eclipse,其中 installdir 是 Build System Toolkit 安裝目錄。
- 輸入 jbe -createPasswordFile pass.txt。
註: pass.txt 可以是任何檔名。
- 當出現提示時,請輸入密碼。 這個密碼會加密並儲存在 Build System Toolkit 安裝目錄下的 pass.txt 檔中
結果
現在,您可以指定加密密碼檔,而不是以純文字來指定密碼。
例如:
<startBuildActivity repositoryAddress="${repositoryAddress}"
userId="${userId}"
passwordFile="/home/user/pass.txt"/>
...