スタンドアロンステップでTalend CommandLineをインストール(オプション) - Cloud - 8.0

TalendSoftware Development Life Cycleベストプラクティスガイド

Version
Cloud
8.0
Language
日本語
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend JobServer
Talend Management Console
Talend Remote Engine
Talend Studio
Content
ジョブデザインと開発
デプロイメント
管理と監視
Last publication date
2024-02-29

既存のプロジェクトやPOM生成ステップを必要としないスタンドアロンステップでTalend CommandLineをインストールできます。このオプションによってTalend CommandLineをインストール、ライセンスをアップデート、Talend Studioマンスリーアップデートを適用することで、CIの環境を準備できるようになります。

なお、Talend CommandLineを個別にインストールできるオプションは、Talend CI Builderの8.0.4 (R2022-04で公開)以降のバージョンで利用可能です。

以下は、Talend CommandLineのインストールとアップデートを行うコマンドの例です。このコマンドは、大半のCIステップ(プロジェクトアーティファクトのPOMファイルを生成するなど)の前に実行できます。Talend CommandLineが既にインストールされている場合は、このコマンドによってクリーンインストールが行われ、CIワークスペースディレクトリーの下にある.metadataフォルダーを削除してからを再インストールします。

# To install Talend CommandLine, its license and a monthly update
mvn org.talend.ci:builder-maven-plugin:8.0.4:install 
-Dtalend.studio.p2.base=https://update.talend.com/Studio/8/base 
-Dtalend.studio.p2.update=https://update.talend.com/Studio/8/updates/R2022-04 
-Dlicense.path=/home/talend/talend_studio/license

Talend CI Builderバージョン8.0.8 (R2022-08より利用可能)以降、暗号化キーをローテションする必要がある場合は、-Dstudio.encryption.keys.fileパラメーターを追加し、Talend CommandLineをインストールする時に暗号化キー設定ファイルへのパスを指定します。詳細は、その他のTalend関連のMavenパラメーターをご覧ください。

以下は、Talend CommandLineのインストール時に暗号化キーファイルを指定するコマンドの例です。

# To specify the encryption key file when installing Talend CommandLine, its license and a monthly update
mvn org.talend.ci:builder-maven-plugin:8.0.8:install 
-Dtalend.studio.p2.base=https://update.talend.com/Studio/8/base 
-Dtalend.studio.p2.update=https://update.talend.com/Studio/8/updates/R2022-08 
-Dlicense.path=/home/talend/talend_studio/license
-Dstudio.encryption.keys.file=/home/talend/key/studio.keys

Talend CommandLineのインストール中に、エラーが返されるまで接続が開くのを待つタイムアウト時間(ミリ秒)を設定できます。これは、CIサーバーがすぐに応答を受け取れない場合にブロックされるのを防ぐのに役立ちます。

以下は、デフォルトである12000ミリ秒のタイムアウトでTalend CommandLineのインストールとアップデートを行うコマンドの例です。

# To install Talend CommandLine, its license and a monthly update with the default 12000 milliseconds timeout
mvn org.talend.ci:builder-maven-plugin:8.0.4:install 
-Dtalend.studio.p2.base=https://update.talend.com/Studio/8/base 
-Dtalend.studio.p2.update=https://update.talend.com/Studio/8/updates/R2022-04 
-Dlicense.path=/home/talend/talend_studio/license 
-Dinstall.org.eclipse.ecf.provider.filetransfer.httpclient4.retrieve.connectTimeout=12000 
-Dinstall.org.eclipse.ecf.provider.filetransfer.httpclient4.retrieve.readTimeout=12000 
-Dinstall.org.eclipse.ecf.provider.filetransfer.httpclient4.browse.connectTimeout=12000