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

Migrate github plugin commit status

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None

      Description

      According to the disclaimer, we should migrate the "build status" post build action (GitHub plugin) from com.cloudbees.jenkins.GitHubCommitNotifier to org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter:

      Set build status on GitHub commit [deprecated]
      This notifier will set GH commit status. This step is DEPRECATED and will be migrated to new step in one of the next major plugin releases.
      Please refer to new universal step. 
      <     <com.cloudbees.jenkins.GitHubCommitNotifier plugin="github@1.19.2">
      <       <statusMessage>
      <         <content></content>
      <       </statusMessage>
      <       <resultOnFailure>FAILURE</resultOnFailure>
      <     </com.cloudbees.jenkins.GitHubCommitNotifier>
      ---
      >     <org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter plugin="github@1.19.2">
      >       <commitShaSource class="org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource"/>
      >       <reposSource class="org.jenkinsci.plugins.github.status.sources.AnyDefinedRepositorySource"/>
      >       <contextSource class="org.jenkinsci.plugins.github.status.sources.DefaultCommitContextSource"/>
      >       <statusResultSource class="org.jenkinsci.plugins.github.status.sources.DefaultStatusResultSource"/>
      >       <errorHandlers>
      >         <org.jenkinsci.plugins.github.status.err.ChangingBuildStatusErrorHandler>
      >           <result>FAILURE</result>
      >         </org.jenkinsci.plugins.github.status.err.ChangingBuildStatusErrorHandler>
      >       </errorHandlers>
      >     </org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter>
      

        Attachments

          Activity

            People

            • Assignee:
              jcarsique Julien Carsique
              Reporter:
              jcarsique Julien Carsique
              Participants:
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: