--- title: "Pipelineの実行" url: https://docs.catalyst.zoho.com/ja/sdk/java/v1/pipelines/execute-pipeline/ description: "このページでは、Catalyst Pipelineを手動で実行する方法について説明します。" last_updated: 2026-02-23T12:39:41Z service: All Services type: general related_links: - name: "Node.js SDK" url: /ja/sdk/nodejs/v2/pipelines/get-pipeline-instance - name: "Python SDK" url: /ja/sdk/python/v1/pipelines/get-pipeline-instance --- # Pipelineの実行 `runPipeline()`メソッドにパイプラインIDとブランチ名をパラメータとして渡すことで、Catalystパイプラインの実行を開始できます。また、パイプライン実行に必要な環境変数をJSONオブジェクトでこのメソッドに渡すこともでき、これは完全に任意です。このメソッドはレスポンスとしてパイプラインの実行履歴の詳細を返します。 ```java JSONObject env = new JSONObject(); env.put("EVENT", "push"); env.put("URL", "https://www.google.com"); ZCPipelineRunHistory run = pipelines_service.runPipeline(8431000000161112051L,main,env); ``` サンプルレスポンスを以下に示します: ```java { "status": "success", "data": { "history_id": "5000000021007", "pipeline_id": "8431000000161112051L", "event_time": "Mar 20, 2024 02:02 PM", "event_details": { "BRANCH_NAME": "detective_pre", "EVENT": "push", "URL": "https://www.google.com" }, "history_status": "Queued" } } ```