Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding a setting to display branch names in Dashboard #1295

Merged
merged 5 commits into from Sep 6, 2017

Conversation

JoolsMcFly
Copy link
Contributor

@JoolsMcFly JoolsMcFly commented Feb 5, 2017

Contribution Type: bug fix | new plugin | new feature | refactor | cosmetic
Link to Intent to Implement:
Link to Bug:

This pull request affects the following areas:

  • Front-End
  • Builder
  • Build Plugins

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributing guidelines?
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I have created or updated the relevant documentation for this change on the PHPCI Wiki.
  • Do the PHPCI tests pass?

Detailed description of change:

/**
* Save basic settings.
*/
public function latest_builds()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPCS: Method name "SettingsController::latest_builds" is not in camel caps format

protected function testDepends($line) {
/**
*
* @param string $line
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PHPCS: Whitespace found at end of line

@JoolsMcFly
Copy link
Contributor Author

Hi,

In our project we are building several branches at a time and we can't easily tell from Latest Builds panel which branch a build was run on. So I've added an option in Admin Settings so users can choose to display branches names in Latest Builds panel.

If enabled then the branch name will appear between brackets, see attached image.
image

I also went ahead and fixed formatting and docblock in TapParser.php so build should be at green again.

Thanks for reviewing my PR.

@dancryer dancryer merged commit 0e7679b into dancryer:master Sep 6, 2017
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.

None yet

3 participants