MENU
      実行履歴詳細

        実行履歴詳細


        記事の要約

        概要

        SourcePipelineヒストリーの詳細を照会します。

        リクエスト

        API URL

        GET  {SOURCEPIPELINE_API_URL}/project/{projectId}/history/{historyId}
        Plain text

        リクエスト Parameter

        項目タイプ必須有無説明備考
        projectIdstringYプロジェクト ID
        historyIdstringYタスク結果 ID

        リクエスト Query

        なし

        リクエスト Body

        なし

        レスポンス

        レスポンス Body

        {
            "history": {
                "id": "number",
                "projectId": "number",
                "begin": "number",
                "end": "number",
                "status": "string",
                "tasks": [
                    {
                        "id": "number",
                        "name": "string",
                        "type": "string",
                        "config": {
                            "projectId": "number",
                            "target": {
                                "name": "string",
                                "type": "string",
                                "info": {
                                    "repository": "string",
                                    "branch": "string"
                                }
                            }
                        },
                        "linkedTasks": ["string"],
                        "status": "string",
                        "resultId": "string"
                    }
                ]
            }
        }
        JSON
        項目タイプ説明備考
        idnumberパイプラインのタスク結果 ID
        projectIdnumberプロジェクト ID
        beginnumber実行開始時間timestamp
        endnumber実行終了時間timestamp
        statusstringタスク状態
        tasks.idnumberタスク ID
        tasks.namestringタスク名
        tasks.typestringタスクタイプ
        tasks.linkedTasksstring[]リンクされているタスク
        tasks.statusstringタスクの作業結果
        tasks.resultIdstringタスクの結果 ID
        tasks.config.projectIdnumberタスクのプロジェクト ID
        tasks.config.stageIdnumberタスクのステージ ID
        tasks.config.scenario.idnumberタスクのシナリオ ID
        tasks.config.target.namestring連携されたタスク名
        tasks.config.target.typestringリンクされているタスクのタイプ
        tasks.config.target.info.repositorystringリンクされているタスク - リポジトリ
        tasks.config.target.info.branchstringリンクされているタスク - ブランチ
        tasks.config.target.info.projectNamestringリンクされているタスク - SourceBuildプロジェクト名
        tasks.config.target.info.filestringリンクされているタスク - Object Storageのファイル名(パスを含む)
        tasks.config.target.info.manifeststringリンクされているタスク - NKSマニフェスト

        この記事は役に立ちましたか?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.