{
  "_class" : "hudson.model.FreeStyleBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.model.Cause$UserIdCause",
          "shortDescription" : "Started by user Pooja Ravi",
          "userId" : "pooja",
          "userName" : "Pooja Ravi"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "refs/remotes/origin/dev-share-feedback" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 21,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
            "branch" : [
              {
                "SHA1" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
                "name" : "refs/remotes/origin/dev-share-feedback"
              }
            ]
          },
          "revision" : {
            "SHA1" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
            "branch" : [
              {
                "SHA1" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
                "name" : "refs/remotes/origin/dev-share-feedback"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
        "branch" : [
          {
            "SHA1" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
            "name" : "refs/remotes/origin/dev-share-feedback"
          }
        ]
      },
      "remoteUrls" : [
        "https://github.com/UstadMobile/Respect.git"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    {
      "displayPath" : "001_001_invite_users_using_qr_code_or_link_test.mp4",
      "fileName" : "001_001_invite_users_using_qr_code_or_link_test.mp4",
      "relativePath" : ".maestro/video-downloader/cypress/downloads/001_001_invite_users_using_qr_code_or_link_test.mp4"
    },
    {
      "displayPath" : "001_002_add_user_direct_test.mp4",
      "fileName" : "001_002_add_user_direct_test.mp4",
      "relativePath" : ".maestro/video-downloader/cypress/downloads/001_002_add_user_direct_test.mp4"
    },
    {
      "displayPath" : "001_003_login_using_school_link_test.mp4",
      "fileName" : "001_003_login_using_school_link_test.mp4",
      "relativePath" : ".maestro/video-downloader/cypress/downloads/001_003_login_using_school_link_test.mp4"
    },
    {
      "displayPath" : "002_browse_lessons_test.mp4",
      "fileName" : "002_browse_lessons_test.mp4",
      "relativePath" : ".maestro/video-downloader/cypress/downloads/002_browse_lessons_test.mp4"
    },
    {
      "displayPath" : "003_admin_user_assigns_assignment_to_a_class_test.mp4",
      "fileName" : "003_admin_user_assigns_assignment_to_a_class_test.mp4",
      "relativePath" : ".maestro/video-downloader/cypress/downloads/003_admin_user_assigns_assignment_to_a_class_test.mp4"
    },
    {
      "displayPath" : "004_user_send_feedback_test.mp4",
      "fileName" : "004_user_send_feedback_test.mp4",
      "relativePath" : ".maestro/video-downloader/cypress/downloads/004_user_send_feedback_test.mp4"
    },
    {
      "displayPath" : "001_001_invite_users_using_qr_code_or_link_test.png",
      "fileName" : "001_001_invite_users_using_qr_code_or_link_test.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/001_001_invite_users_using_qr_code_or_link_test.png"
    },
    {
      "displayPath" : "001_002_add_user_direct_test.png",
      "fileName" : "001_002_add_user_direct_test.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/001_002_add_user_direct_test.png"
    },
    {
      "displayPath" : "001_003_login_using_school_link_test.png",
      "fileName" : "001_003_login_using_school_link_test.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/001_003_login_using_school_link_test.png"
    },
    {
      "displayPath" : "002_browse_lessons_test.png",
      "fileName" : "002_browse_lessons_test.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/002_browse_lessons_test.png"
    },
    {
      "displayPath" : "003_admin_user_assigns_assignment_to_a_class_test.png",
      "fileName" : "003_admin_user_assigns_assignment_to_a_class_test.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/003_admin_user_assigns_assignment_to_a_class_test.png"
    },
    {
      "displayPath" : "004_user_send_feedback_test.png",
      "fileName" : "004_user_send_feedback_test.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/004_user_send_feedback_test.png"
    },
    {
      "displayPath" : "00_Main_Dashboard.png",
      "fileName" : "00_Main_Dashboard.png",
      "relativePath" : ".maestro/video-downloader/cypress/screenshots/extract-maestro-video-urls.cy.js/00_Main_Dashboard.png"
    },
    {
      "displayPath" : "respect-app-compose-debug.apk",
      "fileName" : "respect-app-compose-debug.apk",
      "relativePath" : "respect-app-compose/build/outputs/apk/debug/respect-app-compose-debug.apk"
    },
    {
      "displayPath" : "respect-app-compose-release.apk",
      "fileName" : "respect-app-compose-release.apk",
      "relativePath" : "respect-app-compose/build/outputs/apk/release/respect-app-compose-release.apk"
    },
    {
      "displayPath" : "mapping.txt",
      "fileName" : "mapping.txt",
      "relativePath" : "respect-app-compose/build/outputs/mapping/release/mapping.txt"
    },
    {
      "displayPath" : "respect-cli.zip",
      "fileName" : "respect-cli.zip",
      "relativePath" : "respect-cli/build/distributions/respect-cli.zip"
    },
    {
      "displayPath" : "respect-server-1.0.0.zip",
      "fileName" : "respect-server-1.0.0.zip",
      "relativePath" : "respect-server/build/distributions/respect-server-1.0.0.zip"
    },
    {
      "displayPath" : "respect-server-shadow-1.0.0.zip",
      "fileName" : "respect-server-shadow-1.0.0.zip",
      "relativePath" : "respect-server/build/distributions/respect-server-shadow-1.0.0.zip"
    }
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#21",
  "duration" : 1580850,
  "estimatedDuration" : 1877033,
  "executor" : None,
  "fullDisplayName" : "dev-share-feedback-end-to-end #21",
  "id" : "21",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 21,
  "queueId" : 5663,
  "result" : "SUCCESS",
  "timestamp" : 1770099359436,
  "url" : "https://devserver3.ustadmobile.com/jenkins/job/dev-share-feedback-end-to-end/21/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/sharelink/LaunchSendEmailUseCase.kt",
          "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/sharefeedback/ShareFeedbackViewModel.kt",
          "respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt",
          "respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/launchers/EmailLauncherUseCaseAndroid.kt",
          "respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/sendinvite/LaunchSendEmailAndroid.kt",
          "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/launchers/EmailLauncherUseCase.kt",
          "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/inviteperson/InvitePersonViewModel.kt"
        ],
        "commitId" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
        "timestamp" : 1770098488000,
        "author" : {
          "absoluteUrl" : "https://devserver3.ustadmobile.com/jenkins/user/mandvi.verma",
          "fullName" : "mandvi.verma"
        },
        "authorEmail" : "mandvi.verma@sutara.org",
        "comment" : "Refactor: Consolidate email launching logic into LaunchSendEmailUseCase.\u000a\u000aRemoved the specific `EmailLauncherUseCase` and its Android implementation. The existing `LaunchSendEmailUseCase` has been updated to handle all email launching scenarios by making the `body` and `emailId` parameters optional.\u000a\u000aThis change consolidates redundant code, allowing a single use case to manage sending emails with or without a pre-filled recipient and body. ViewModels have been updated to use the unified `LaunchSendEmailUseCase`.\u000a",
        "date" : "2026-02-03 11:31:28 +0530",
        "id" : "d1818a9b0c5d5383004aa9d621e6a8caef66583c",
        "msg" : "Refactor: Consolidate email launching logic into LaunchSendEmailUseCase.",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/sendinvite/LaunchSendEmailAndroid.kt"
          },
          {
            "editType" : "edit",
            "file" : "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/manageuser/sharefeedback/ShareFeedbackViewModel.kt"
          },
          {
            "editType" : "delete",
            "file" : "respect-lib-shared/src/androidMain/kotlin/world/respect/shared/domain/launchers/EmailLauncherUseCaseAndroid.kt"
          },
          {
            "editType" : "delete",
            "file" : "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/launchers/EmailLauncherUseCase.kt"
          },
          {
            "editType" : "edit",
            "file" : "respect-app-compose/src/androidMain/kotlin/world/respect/AppKoinModule.kt"
          },
          {
            "editType" : "edit",
            "file" : "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/domain/sharelink/LaunchSendEmailUseCase.kt"
          },
          {
            "editType" : "edit",
            "file" : "respect-lib-shared/src/commonMain/kotlin/world/respect/shared/viewmodel/person/inviteperson/InvitePersonViewModel.kt"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://devserver3.ustadmobile.com/jenkins/user/pooja",
      "fullName" : "Pooja Ravi"
    },
    {
      "absoluteUrl" : "https://devserver3.ustadmobile.com/jenkins/user/mandvi.verma",
      "fullName" : "mandvi.verma"
    }
  ]
}