Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1204

Wrong sender for commits pushed by jenkins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HOOKS-1.0.0
    • Fix Version/s: HOOKS-1.1.0
    • Component/s: Captain Hook
    • Tags:
    • Sprint:
      DevOps-13
    • Story Points:
      2

      Description

      The following payload should trigger an email "Damien Metzler via Jenkins" instead of Jenkins Nuxeo

      {
        "ref": "refs/heads/master",
        "before": "819bf7d60da6f93973b20443744517055e5f86f3",
        "after": "54bfe7138e8720dd9cf0ab55ce8704208aab6bd8",
        "created": false,
        "deleted": false,
        "forced": false,
        "base_ref": null,
        "compare": "https://github.com/nuxeo/nuxeo/compare/819bf7d60da6...54bfe7138e87",
        "commits": [
          {
            "id": "f20343278df6014d720d3ac4486c7ebb46eec120",
            "tree_id": "a2cd1a64bcff699c9e8ea39a99d3f4c64666beaa",
            "distinct": true,
            "message": "format",
            "timestamp": "2016-08-03T17:37:04Z",
            "url": "https://github.com/nuxeo/nuxeo/commit/f20343278df6014d720d3ac4486c7ebb46eec120",
            "author": {
              "name": "Damien Metzler",
              "email": "dmetzler@nuxeo.com",
              "username": "dmetzler"
            },
            "committer": {
              "name": "Jenkins Nuxeo",
              "email": "jenkins@nuxeo.com",
              "username": "nuxeojenkins"
            },
            "added": [
      
            ],
            "removed": [
      
            ],
            "modified": [
              "nuxeo-services/nuxeo-platform-web-common/src/main/java/org/nuxeo/ecm/platform/ui/web/auth/service/PluggableAuthenticationService.java",
              "nuxeo-services/nuxeo-platform-web-common/src/test/java/org/nuxeo/ecm/platform/ui/web/auth/TestAuthPlugins.java"
            ]
          },
          {
            "id": "54bfe7138e8720dd9cf0ab55ce8704208aab6bd8",
            "tree_id": "856242d48bf210519008f238ca59af44a31f4721",
            "distinct": true,
            "message": "NXP-19826 check preFilter enablement",
            "timestamp": "2016-08-03T17:37:04Z",
            "url": "https://github.com/nuxeo/nuxeo/commit/54bfe7138e8720dd9cf0ab55ce8704208aab6bd8",
            "author": {
              "name": "Damien Metzler",
              "email": "dmetzler@nuxeo.com",
              "username": "dmetzler"
            },
            "committer": {
              "name": "Jenkins Nuxeo",
              "email": "jenkins@nuxeo.com",
              "username": "nuxeojenkins"
            },
            "added": [
              "nuxeo-services/nuxeo-platform-web-common/src/test/java/org/nuxeo/ecm/platform/ui/web/auth/DummyAuthPreFilter.java",
              "nuxeo-services/nuxeo-platform-web-common/src/test/resources/OSGI-INF/test-prefilter-disable.xml",
              "nuxeo-services/nuxeo-platform-web-common/src/test/resources/OSGI-INF/test-prefilter.xml"
            ],
            "removed": [
      
            ],
            "modified": [
              "nuxeo-services/nuxeo-platform-web-common/src/main/java/org/nuxeo/ecm/platform/ui/web/auth/service/PluggableAuthenticationService.java",
              "nuxeo-services/nuxeo-platform-web-common/src/test/java/org/nuxeo/ecm/platform/ui/web/auth/TestAuthPlugins.java"
            ]
          }
        ],
        "head_commit": {
          "id": "54bfe7138e8720dd9cf0ab55ce8704208aab6bd8",
          "tree_id": "856242d48bf210519008f238ca59af44a31f4721",
          "distinct": true,
          "message": "NXP-19826 check preFilter enablement",
          "timestamp": "2016-08-03T17:37:04Z",
          "url": "https://github.com/nuxeo/nuxeo/commit/54bfe7138e8720dd9cf0ab55ce8704208aab6bd8",
          "author": {
            "name": "Damien Metzler",
            "email": "dmetzler@nuxeo.com",
            "username": "dmetzler"
          },
          "committer": {
            "name": "Jenkins Nuxeo",
            "email": "jenkins@nuxeo.com",
            "username": "nuxeojenkins"
          },
          "added": [
            "nuxeo-services/nuxeo-platform-web-common/src/test/java/org/nuxeo/ecm/platform/ui/web/auth/DummyAuthPreFilter.java",
            "nuxeo-services/nuxeo-platform-web-common/src/test/resources/OSGI-INF/test-prefilter-disable.xml",
            "nuxeo-services/nuxeo-platform-web-common/src/test/resources/OSGI-INF/test-prefilter.xml"
          ],
          "removed": [
      
          ],
          "modified": [
            "nuxeo-services/nuxeo-platform-web-common/src/main/java/org/nuxeo/ecm/platform/ui/web/auth/service/PluggableAuthenticationService.java",
            "nuxeo-services/nuxeo-platform-web-common/src/test/java/org/nuxeo/ecm/platform/ui/web/auth/TestAuthPlugins.java"
          ]
        },
        "repository": {
          "id": 2988101,
          "name": "nuxeo",
          "full_name": "nuxeo/nuxeo",
          "owner": {
            "name": "nuxeo",
            "email": "contact@nuxeo.com"
          },
          "private": false,
          "html_url": "https://github.com/nuxeo/nuxeo",
          "description": "Content management platform to build modern business applications",
          "fork": false,
          "url": "https://github.com/nuxeo/nuxeo",
          "forks_url": "https://api.github.com/repos/nuxeo/nuxeo/forks",
          "keys_url": "https://api.github.com/repos/nuxeo/nuxeo/keys{/key_id}",
          "collaborators_url": "https://api.github.com/repos/nuxeo/nuxeo/collaborators{/collaborator}",
          "teams_url": "https://api.github.com/repos/nuxeo/nuxeo/teams",
          "hooks_url": "https://api.github.com/repos/nuxeo/nuxeo/hooks",
          "issue_events_url": "https://api.github.com/repos/nuxeo/nuxeo/issues/events{/number}",
          "events_url": "https://api.github.com/repos/nuxeo/nuxeo/events",
          "assignees_url": "https://api.github.com/repos/nuxeo/nuxeo/assignees{/user}",
          "branches_url": "https://api.github.com/repos/nuxeo/nuxeo/branches{/branch}",
          "tags_url": "https://api.github.com/repos/nuxeo/nuxeo/tags",
          "blobs_url": "https://api.github.com/repos/nuxeo/nuxeo/git/blobs{/sha}",
          "git_tags_url": "https://api.github.com/repos/nuxeo/nuxeo/git/tags{/sha}",
          "git_refs_url": "https://api.github.com/repos/nuxeo/nuxeo/git/refs{/sha}",
          "trees_url": "https://api.github.com/repos/nuxeo/nuxeo/git/trees{/sha}",
          "statuses_url": "https://api.github.com/repos/nuxeo/nuxeo/statuses/{sha}",
          "languages_url": "https://api.github.com/repos/nuxeo/nuxeo/languages",
          "stargazers_url": "https://api.github.com/repos/nuxeo/nuxeo/stargazers",
          "contributors_url": "https://api.github.com/repos/nuxeo/nuxeo/contributors",
          "subscribers_url": "https://api.github.com/repos/nuxeo/nuxeo/subscribers",
          "subscription_url": "https://api.github.com/repos/nuxeo/nuxeo/subscription",
          "commits_url": "https://api.github.com/repos/nuxeo/nuxeo/commits{/sha}",
          "git_commits_url": "https://api.github.com/repos/nuxeo/nuxeo/git/commits{/sha}",
          "comments_url": "https://api.github.com/repos/nuxeo/nuxeo/comments{/number}",
          "issue_comment_url": "https://api.github.com/repos/nuxeo/nuxeo/issues/comments{/number}",
          "contents_url": "https://api.github.com/repos/nuxeo/nuxeo/contents/{+path}",
          "compare_url": "https://api.github.com/repos/nuxeo/nuxeo/compare/{base}...{head}",
          "merges_url": "https://api.github.com/repos/nuxeo/nuxeo/merges",
          "archive_url": "https://api.github.com/repos/nuxeo/nuxeo/{archive_format}{/ref}",
          "downloads_url": "https://api.github.com/repos/nuxeo/nuxeo/downloads",
          "issues_url": "https://api.github.com/repos/nuxeo/nuxeo/issues{/number}",
          "pulls_url": "https://api.github.com/repos/nuxeo/nuxeo/pulls{/number}",
          "milestones_url": "https://api.github.com/repos/nuxeo/nuxeo/milestones{/number}",
          "notifications_url": "https://api.github.com/repos/nuxeo/nuxeo/notifications{?since,all,participating}",
          "labels_url": "https://api.github.com/repos/nuxeo/nuxeo/labels{/name}",
          "releases_url": "https://api.github.com/repos/nuxeo/nuxeo/releases{/id}",
          "deployments_url": "https://api.github.com/repos/nuxeo/nuxeo/deployments",
          "created_at": 1323959741,
          "updated_at": "2016-07-31T11:29:18Z",
          "pushed_at": 1470245914,
          "git_url": "git://github.com/nuxeo/nuxeo.git",
          "ssh_url": "git@github.com:nuxeo/nuxeo.git",
          "clone_url": "https://github.com/nuxeo/nuxeo.git",
          "svn_url": "https://github.com/nuxeo/nuxeo",
          "homepage": "http://www.nuxeo.com",
          "size": 243316,
          "stargazers_count": 111,
          "watchers_count": 111,
          "language": "Java",
          "has_issues": false,
          "has_downloads": true,
          "has_wiki": false,
          "has_pages": false,
          "forks_count": 83,
          "mirror_url": null,
          "open_issues_count": 9,
          "forks": 83,
          "open_issues": 9,
          "watchers": 111,
          "default_branch": "master",
          "stargazers": 111,
          "master_branch": "master",
          "organization": "nuxeo"
        },
        "pusher": {
          "name": "nuxeojenkins",
          "email": "jenkins@nuxeo.com"
        },
        "organization": {
          "login": "nuxeo",
          "id": 460607,
          "url": "https://api.github.com/orgs/nuxeo",
          "repos_url": "https://api.github.com/orgs/nuxeo/repos",
          "events_url": "https://api.github.com/orgs/nuxeo/events",
          "hooks_url": "https://api.github.com/orgs/nuxeo/hooks",
          "issues_url": "https://api.github.com/orgs/nuxeo/issues",
          "members_url": "https://api.github.com/orgs/nuxeo/members{/member}",
          "public_members_url": "https://api.github.com/orgs/nuxeo/public_members{/member}",
          "avatar_url": "https://avatars.githubusercontent.com/u/460607?v=3",
          "description": "Content Management Platform for Modern Business Applications"
        },
        "sender": {
          "login": "nuxeojenkins",
          "id": 925456,
          "avatar_url": "https://avatars.githubusercontent.com/u/925456?v=3",
          "gravatar_id": "",
          "url": "https://api.github.com/users/nuxeojenkins",
          "html_url": "https://github.com/nuxeojenkins",
          "followers_url": "https://api.github.com/users/nuxeojenkins/followers",
          "following_url": "https://api.github.com/users/nuxeojenkins/following{/other_user}",
          "gists_url": "https://api.github.com/users/nuxeojenkins/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/nuxeojenkins/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/nuxeojenkins/subscriptions",
          "organizations_url": "https://api.github.com/users/nuxeojenkins/orgs",
          "repos_url": "https://api.github.com/users/nuxeojenkins/repos",
          "events_url": "https://api.github.com/users/nuxeojenkins/events{/privacy}",
          "received_events_url": "https://api.github.com/users/nuxeojenkins/received_events",
          "type": "User",
          "site_admin": false
        }
      }

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: