Skip to content

Rally Software Integration with GitHub and Jenkins

Rally Software Integration
The integration of Rally with GitHub and Jenkins gives the development team completecontrol over the codes being committed in the source code repository. It also creates completetraceability for all workitems in Rally. With complete traceability for each workitem in theecosystem, it is easier for enterprises to fulfil compliance requirements.

Rally Software – GitHub & Jenkins Integration Overview

In an Application Lifecycle Management (ALM) ecosystem, the choice of systems and the collaboration between the cross-functional teams play a great role. While the choice of systems impacts the productivity of a team, the cross-functional collaboration brings in collective wisdom to take better decisions, faster.

Best-of-breed systems such as Rally, Jenkins, and GitHub bring rich functionalities to the ecosystem. When GitHub is integrated with Rally and Jenkins, all stakeholders have real-time visibility into the commits made by the development team. It is also easier to enforce authentic commits against each work item and access the changes/edits made to the commit files from Rally itself.

How Rally Software – GitHub – Jenkins integration is beneficial for an enterprise

  • Track commit volume, track commit trends and edits/changes to commit files in real time
  • Enforce authentic commits to make sure each commit is happening against a scheduled and open workitem
  • Eliminate manual effort to close Rally workitem by automating the state transition on GitHub commit

With Rally + GitHub + Jenkins integration, enterprises can:

Rally Software GitHub Jenkins Integration

How OpsHub Integration Manager integrates Rally, GitHub, and Jenkins

OpsHub Integration Manager integrates Rally with GitHub and Jenkins. It ensures that all data is available to each user, in that user’s preferredsystem, with full context, in real-time. All the details related to a commitmade against a work-item in Rally can be tracked from Rally itself. Forexample, for each commit that development team makes in GitHub,GitHub synchronizes a ‘commit entity’ linked to the specific requirement idback to Rally. Each ‘commit entity’ includes information such as ‘who didthe commit?’, ‘when was the commit done?’, and ‘which part of the codewas committed?’. The integration of Jenkins also ensures elimination ofdeveloper’s effort to close Rally workitem by automating the statetransition on GitHub commit.

Popularly synchronized entities

Rally Software GitHub Jenkins Entities Mapping

Use Case: Rally integration with GitHub and Jenkins

Problem statement: No control on backlogs getting committed – therefore, anyone can commit on a defect that is not even present in the active sprint.

Solution: If Rally, GitHub, and Jenkins are integrated using OpsHub Integration Manager, then OpsHub Integration Manager can put a check that user can only commit on a defect that is present in active sprint.

  1. A developer works on a ‘user story’ in Rally and runs a test case against it. The test case passes.
  2. The developer then commits against the ‘defect’ in GitHub.
  3. As the ‘defect’ against which the developer has committed is not in active sprint, when Jenkins runs a pre-scheduled test on it, the commit fails.
  4. The status of the commit synchronizes to Rally.
Rally Software Integration with GitHub Jenkins

Benefits of integration for Rally Software and GitHub users

Rally users

  • Complete traceability from Rally to source code in GitHub
  • Visibility into the volume, quality of commits, and commit trends in real-time
  • Reduced dependency on manual communication to track the completion of a task

GitHub users

  • Each commit can be traced back to its respective workitem at any given point in time from GitHub itself
  • Enforced checkpoints ensure that no mandatory steps/checks are missed while making a commit – this leads to high success rate for commits