Skip to content

Adopt flattened interface for ChangeRequestSCMHead - #821

Open
das7pad wants to merge 2 commits into
jenkinsci:masterfrom
das7pad:change-request-head-iface
Open

das7pad wants to merge 2 commits into
jenkinsci:masterfrom
das7pad:change-request-head-iface

Conversation

@das7pad

@das7pad das7pad commented Jun 16, 2026

Copy link
Copy Markdown

Adopt the flattened interface for ChangeRequestSCMHead (previously ChangeRequestSCMHead2).

Testing done

Run tests locally, they cover all three env vars:

assertThat(env.get("CHANGE_ID"), is(cr1Num.toString()));
assertThat(env.get("CHANGE_TARGET"), is("master"));
assertThat(env.get("CHANGE_BRANCH"), is("CR-" + cr1Num));

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant