Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39435

Allow to configure SUCCESS State for git publisher

      Since a job can have test failures (for several reasons) and is marked as UNSTABLE it should be possible to push tag while it shouldn't if the build fails.
      Right now it's only possible to set "pushOnlyIfSuccess" to true/false and therfore tags are pushed if the job fails which is not useful.

      It would help, if the option can have options like this:

      • UNSTABLE or better
      • STABLE
      • ("Push anyway" (also if Jobs fails))

          [JENKINS-39435] Allow to configure SUCCESS State for git publisher

          Frank Gasdorf created issue -
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]

          Mark Waite added a comment -

          I don't plan to extend the capabilities of the git publisher in the git plugin. The withCredentials Pipeline step addition for the git plugin will allow Pipeline users to perform authenticated calls to git from sh, bat, and powershell. They can use those facilities to push changes to the remote git repository.

          Mark Waite added a comment - I don't plan to extend the capabilities of the git publisher in the git plugin. The withCredentials Pipeline step addition for the git plugin will allow Pipeline users to perform authenticated calls to git from sh, bat, and powershell. They can use those facilities to push changes to the remote git repository.
          Mark Waite made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            fgdrf Frank Gasdorf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: