Add environment variable for last successful build commit

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I have a build script that uses the last commit to find out which files have changed and perform code style analysis on those files alone. Running across the entire code base is infeasible (as it is too large and hangs).

      However, there's no easy way to get the last commit that was built successfully for the current branch. Is it possible to add a GIT_PREVIOUS_COMMIT_SUCCESSFUL environment variable?

            Assignee:
            Unassigned
            Reporter:
            Patrick Rose
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: