New integration: Bitbucket Cloud Power-Up for Trello

By on April 13, 2017

New integration with Bitbucket Cloud and Trello has arrived

Attach branches, commits and pull requests to Trello cards, create new branches from cards, and view pull request and build statuses on cards with the new integration. To keep the whole team informed at a glance, start by signing up for Bitbucket, and add the Power-up in Trello.

Get started, it’s free

In case you haven’t heard, Bitbucket has a new family member: Trello. Software teams use Trello to plan and track work via boards, lists, and cards in a flexible way. We have many teams on Bitbucket Cloud who use Trello because it is super fast and easy to get started, great for ad hoc work, and perfect for Kanban, but one thing was missing for these teams: the ability for the whole team to see development status updates in Trello boards and quickly bounce between Trello and Bitbucket.

In order to maximize productivity for these teams who want to see their work at a glance, we launched a Bitbucket Cloud Power-Up for Trello. Let’s take a deep dive in to how to get the most out of the new Trello integration.

Bitbucket Cloud Power-up for Trello

In Trello, Power-Ups give users the ability to make Trello boards functional and customizable. For a software team, Power-Ups move a project forward by keeping all team members in the know. With the new Bitbucket Popwer-Up, you can now alert fellow developers, product managers, designers, etc. on development progress with branches, pull requests, builds and commits on Trello cards. When it’s time to go from product planning to development, the Bitbucket Cloud Power-Up allows you to:

Connect Bitbucket and Trello

There is more on the way for a stronger Bitbucket and Trello integration, but this Power-up is a good start to cut out the back and forth and stay in sync on development progress.

If you’re already a Bitbucket and Trello user, head to your Trello board and add the Bitbucket Power-Up. If you’re new to Bitbucket and want to take this integration for a spin, get started here.

Get started, it’s free

Have more specific questions about this post? Reach out to us on Twitter to get the information you need.

Bitbucket Cloud gets a new navigation experience

By on April 11, 2017

A good user interface gets out of the way and makes it easy for teams to understand, focus on, and complete their work. We’ve been listening to our users on how to improve the navigation of Bitbucket Cloud’s UI and have been hard at work for over a year to address the feedback. Today we’re taking the first step in improving Bitbucket Cloud’s UI and launching a new navigation experience

As part of this new UI, we’ve streamlined navigation to create a more intuitive, warm, and inviting interface. Let’s take a deeper look at how we arrived at this new design, what it looks like and how you can enable it.

How did we land on this new design?

One of the best signals we have to understand our customers is NPS (Net Promoter Score) feedback. We pulled a research team together to sift through thousands of NPS responses to find common pain points and opportunities for improvement. One recurring theme we found was “complexity” – clearly a problem, but tough to address without breaking it down further. So, we conducted qualitative interviews and narrowed down areas of improvement to address perceived complexity:

  • Wayfinding and architecture – Historically Bitbucket has used many interaction patterns for navigation: top bar menu, search box, sidebar, omni-bar, and tabs (oh my!). That’s led to a frustrating user experience when finding features and getting around. To cut out the visual noise and distractions, we’ve combined global and repository-level navigation into the left sidebar. The dashboard and search menus let you quickly jump between all repos, pull requests, and issues you need to manage.

Before

    After

  • Look and feel – Users had feedback about Bitbucket’s fluid width, iconography, lack of color and whitespace. They expected an easy to use and cohesive experience that surfaced the right information at the right time. With the new nav, we removed clutter, use flashes of color and clear iconography to accentuate the important bits. These new interactions are more considerate, straightforward, and guide you to the next step. We’ve got more to do on this front to make the entire Bitbucket experience more consistent and simpler, but we’re excited about this start!

Before

After

  • Repository navigation – This was unintuitive because icons were not easily understood. There were too many options and the mix of actions and navigation made it difficult to parse. As part of the UI cleanup, we wanted to remove as many of the hurdles between you and your work as possible. To simplify, we’ve grouped repo actions with other actions in the create (plus) menu and kept navigation simple.

Before

After

How did we test the new UI?

We’ve been testing our design direction from the beginning with actual users to validate and stay on track. Usertesting.com was hugely helpful for early signal testing and getting quick qualitative feedback from real users. Building on those positive results, we shipped an initial implementation in Bitbucket in October 2016 to our internal Bitbucket dev team.

Since then, we’ve expanded from just the Bitbucket dev team to hundreds of users, integration partners, and Atlassians and have received overwhelmingly positive feedback. Any UI change, especially one as large as adopting a new navigation paradigm, involves tough calls and tradeoffs. Based on our research and testing, we’re optimistic that people will intuitively understand the new layout and be even more productive with Bitbucket.

I want the new Bitbucket experience! How do I get it?

This initial roll out is just the beginning. We’ve started with navigation, updated bitbucket.org, and changes are now starting to flow in to product.

Now after all this testing, it is time to get feedback on a larger scale. We are rolling it out to 1% of our active user base so some of you will already have this experience in your current Bitbucket account. Just click the “Give feedback” link in the sidebar – we’re listening.

If you can’t wait to try the new UI, you can still turn it on! Visit the Labs page and enable “Bitbucket UI refresh”. If you’re not already a Bitbucket user, sign up for Bitbucket to give it a try. Give us feedback and we hope you love the new UI as much as we do.

Get started, it’s free

Have more specific questions about this post? Reach out to us on Twitter to get the information you need.

Bitbucket Cloud: free for student developers and teachers

By on April 3, 2017

Are you a student or teacher?

Store your classwork, distribute assignments, and collaborate on your code. Bitbucket Cloud offers free unlimited collaborators and free unlimited private repositories for all students and teachers.

Already a student using Bitbucket? Join our Student Ambassador Program here.

Get started, it’s free

There are many things a student developer needs to worry about during their college life, but knowing where to store their labs, projects and assignments shouldn’t be one of them. Bitbucket Cloud has offered free unlimited repositories and unlimited collaborators for some time, and now we’ve streamlined the process of getting an academic account. It’s easier than ever for both students and teachers to get started and store, collaborate on, and distribute their classwork using Bitbucket Cloud.

Get up and running with Git, all in the cloud

No more USB drives, emails, or FTP’ing to your college servers for your classwork. You can easily set up repositories for each of your labs or classes with Bitbucket. Better still, your code is hosted in the cloud so you can access your classwork on any machine, anywhere you are. Want to keep your work private, away from prying eyes? We’ve got you covered. With unlimited private repositories you can control who can view your work and only give access to those who need it.

And by using Git you’re getting a head start on your career by learning to use the industry standard for version control. What’s there not to like?

Sharing is caring

Perhaps you need to collaborate on a group project with your team, or give repository access to your professor or TA for grading? Academic accounts on Bitbucket include unlimited collaborators making it easy to do all that and more. Our aim is to make the process of working with your teachers and peers as easy as possible.

Free Academic accounts for all students and teachers

Best of all, Academic accounts on Bitbucket are free. That’s right, free as in beer… without the age requirement of course! To get free unlimited repositories and collaborators, all you need to do is sign up for a Bitbucket account with your academic email address (e.g. stanford.edu). We’ve automated the process so when you sign up you’ll instantly be given an Academic account. And don’t worry if it’s not automatic – simply fill out this form and our team will get you up and running in no time. We’re always adding approved academic institutions to our list, so over time we hope to have this process automated for as many institutions as possible.

Share and win!

We’re excited to help student developers all over the world learn, collaborate and share their code with Bitbucket Cloud, and we want you to help spread the word. Share our student developer page with your friends on Twitter and Facebook and be in the running to win some sweet swag. Don’t forget to use the hashtag #bitbucketedu so we can keep track!


Join our ambassador program

As we expand our student initiatives we’re proud to announce our upcoming student ambassador program. If you’re interested in learning more about Git, love attending events, and exploring opportunities for your peers and universities, then we’d love to hear from you. Register your interest here and we’ll be in touch!

Get started today

Edit history with Mercurial Evolve (Beta) in Bitbucket Cloud

By on March 28, 2017

Mercurial patch queues (MQ), even though they are deprecated, have long been the only way to share your not-yet-ready-to-land commits via Bitbucket. Patch queues have a long history of being thorny to use because they were developed for version control techniques that have been out of date for quite some time. Rising from the ashes of Mercurial patch queues and forged from the painful experience of “git push -f”, we are launching evolve in hopes of providing a better experience for Mercurial users. 

What does this mean for you? You’ll be able to edit the history for a pull request before merging it. You can rebase, if that’s your fancy. Plus, this paves the road for us to enable new merge options, like our new squash merge in pull requests.

Where to get evolve

After calming down a bit, it’s important to note that evolve is still in Beta in both Mercurial and Bitbucket. To facilitate rolling out this Beta feature as we do our other features in Bitbucket, we decided to write an extension to make integrating Mercurial’s configuration with our per-user labs settings. I call this magic hgenvconfig – a very simple extension that even has tests! (For the technically curious: the way “hgenvconfig” works is by adding our per-user configuration to an environment variable. Our Mercurial extensions and hooks are then able to read from this variable by the fact that subprocesses inherit environment variables from the main thread.)

With this extension, we were able to add evolve to our lab settings so we can help get evolve hardened for all Mercurial users. Our hope is that as this gets more testing, evolve will move out of experimental status in Mercurial. We need your feedback on terminology, UX, and bugs (of course). To start using it, first install evolve by running “pip install hg-evolve” then head to your account settings, Bitbucket Labs, and enable Mercurial Evolution Support.

Getting the most out of evolve

How is evolve different from “git push -f”? For starters, “git push -f” behaves just like your favorite FTP server: last one to write wins. In contrast, Mercurial marks commits as “replaced” by using an append-only store. Let’s see how this works (without getting too technical here):

Figure 1: unsafe history modification with core Mercurial (not using evolve): the original revision 1 is destroyed, similar to git when the reflog is cleaned.

Figure 2: safe history modification using evolve: the original revision 1 is preserved as an obsolete changeset providing more history than git. (The “temporary amend commit”, marked with T, is an implementation detail stemming from limitations in Mercurial’s current merge machinery. Future versions of Mercurial will not create them.)

Similar to “git push -f”, evolve is an advanced feature and editing history is tricky. Evolve is built on the Mercurial concept of phases. In preparation for evolve a little while ago, I switched the default state of new Mercurial repositories to be non-publishing (e.g. draft commits by default).

To get the most out of evolve, make sure to read up on the evolve concept of unstable. Simply put, this is analogous to a “rebase” that is in-progress. It represents, as the name suggests, an unstable state of your repository and should be used carefully. If you stick to “rebase” and “histedit” commands, then it should be rare to end up in this state and be safe to use.

Evolution ain’t easy

In order to help make features like this accessible to the community in the future, including through further development of the Mercurial platform, Bitbucket has made a charitable donation to the Software Freedom Conservancy. We’re proud to support the Software Freedom Conservancy and promote the development of platforms like Mercurial, and encourage you to keep a look out for advancements to come.

If you are new to Bitbucket, sign up for Bitbucket here or if you are already a Bitbucket user, head to your account settings, Bitbucket Labs, and enable Mercurial Evolution Support. It’s time to evolve.

Get started, it’s free

Have more specific questions about this post? Reach out to us on Twitter to get the information you need

Stay in context with JIRA issue details in Bitbucket Cloud

By on

View JIRA issue details in Bitbucket Cloud

Anywhere you can add issue key links, such as commit messages, comments, pull requests, and branches, you can now see JIRA issue details to stay coordinated between code and related JIRA issues. Sign up for Bitbucket and connect JIRA to take advantage of saving time on the back and forth.

Get started, it’s free

When building software, you often find yourself navigating to different tools, littering your browser with tabs just to stay on top of the information you need. It happens so frequently that you’re likely not even aware of it. Over time, these unnecessary actions all start to add up, sapping your productivity and focus.

Wouldn’t it make more sense to bring the relevant information you need into context so that you don’t have to navigate away from your work? That’s why we’ve added JIRA issue details within Bitbucket Cloud, so you never need to navigate away from Bitbucket to get context on an issue. 

Stay in context

Click on a JIRA issue key link from within Bitbucket and see the details of the issue.

This makes it easier for you and your team to stay coordinated between code and related JIRA issues. Anywhere you can add issue key links, such as commit messages, comments, pull requests, and branches, you can now see JIRA issue details, in context. Only Bitbucket allows you to have your JIRA information at your fingertips – no other code repository tool can provide this functionality.

If you need to make edits or view further information you can easily click on the View Issue in JIRA link at the bottom.

There’s more to come

Over the next several months, we’re adding more functionality so you never have to leave Bitbucket, further speeding your development cycle.

Look forward to: 

Get started

Ensure Bitbucket and JIRA Software are connected. 

If you’re already using issue keys in your commit messages today, simply click on the links to enjoy visibility on JIRA issues. If you’re not using issue keys in Bitbucket, try adding one to your next commit message. Type out an issue key that exists in one of your JIRA projects, for example, “TEST-123” and voilà, you should now be able to click on the issue keys to view it’s details. Read more about using issue keys in Bitbucket here. 

Having trouble? You may need to reconnect your JIRA and Bitbucket connection. Visit our troubleshooting page if you run into issues or contact support.

Not using JIRA Software and Bitbucket together?

JIRA Software is the preferred issue tracker of over 350,000 Bitbucket teams. We did an extensive study amongst our users and found teams who have JIRA Software and Bitbucket integrated release 14% more often and close 23% more issues (when compared to teams using just one of those products).

Learn more

Have more specific questions about this post? Reach out to us on Twitter to get the information you need. 

Generate SSH keys for Bitbucket Pipelines

By on March 21, 2017

Configuring SSH access to servers for your builds and deployments on Bitbucket Pipelines used to be a real pain. We had a manual process that involved generating keys locally, then base64 encoding them to pass through environment variables in your build. You also needed to add hosts to the SSH known_hosts file so various commands didn’t fail with cryptic error messages. We saw an opportunity to make this experience a whole heap better.

Improved SSH configuration for Pipelines

We’ve designed a new configuration screen for your Bitbucket repository that lets you generate and configure SSH keys for your pipelines with a single click. The private key will be encrypted, kept securely within Bitbucket, and automatically registered in your pipeline build container. You then simply copy/paste the public key on to your remote host to give your build access to it.

Adding your remote hosts to the known_hosts file in your build is just as easy. Type in the hostname and Bitbucket automatically pulls down the host’s public key, and lets you verify the fingerprint. If everything looks is okay, add your hosts to the configuration with a single click.

With these small improvements, configuring SSH access for Pipelines now takes just a few seconds instead of half an hour of error-prone tweaking.

Learn more about using SSH keys in Pipelines. Happy Pipelining!

Try Bitbucket Pipelines

Bitbucket Pipelines adds support for Alpine Linux

By on March 13, 2017

We’re big fans of both Node.js and Docker at Atlassian, and Bitbucket has seen some great adoption among these communities. So when we were recently contacted by the maintainers of the node-docker project to see whether Bitbucket Pipelines could support their Docker image, based on Alpine Linux, we immediately went to investigate and see what we could do.

Alpine is a very lightweight Linux distribution that weighs in at an insanely small 5 MB, so using it in your build can shave a significant amount off the download and startup time. However, Alpine was incompatible with Pipelines because we had a dependency on the bash shell.

Bitbucket Pipelines was originally designed to require bash, which isn’t included in Alpine. But with a few tweaks on our side, we now fall back to using /bin/sh when /bin/bash isn’t available. These changes allow customers to use any Alpine-based image for their build container in Pipelines.

Now all Bitbucket Pipelines users can get the speed benefits of using any Docker image based on Alpine, including many of the official Docker images that started transitioning last year. We hope you enjoy this improvement as much as we do!

Haven’t tried Bitbucket Pipelines?

Bitbucket Pipelines is a continuous delivery service built right within Bitbucket so you can code, test, and deploy from a single tool with a unified workflow. There’s no need to switch to another application, no need to juggle permissions and access, or setup servers – just use Bitbucket Pipelines and get unlimited concurrent builds.

Try Bitbucket Pipelines

Cheers, the Bitbucket Pipelines team

Rest assured with Pipelines build notifications in HipChat

By on March 6, 2017

Bitbucket Pipelines integration with HipChat
Every time you trigger a build in Bitbucket Pipelines, whether by pushing commits or creating a pull request, you have to remain at your desk or constantly refresh your email to see if the build has passed. You don’t like wearing the cone of shame for a failed build and would like to get notified ASAP asynchronously.

Introducing HipChat notifications for Bitbucket Pipelines

Many software teams use HipChat to share ideas and stay connected regarding their team’s latest commits, pull requests, or the latest meme. If you are one of those teams, we’ve added a long-awaited HipChat integration with Bitbucket Pipelines. Now get feedback even faster with build status updates via HipChat.

Enable HipChat notifications for Pipelines

To enable HipChat notifications for Bitbucket Pipelines, follow these three simple steps:

  1. Enable the HipChat for Bitbucket Cloud integration
  2. Go to your Bitbucket team or repository settings page and click HipChat integration.
  3. Under the section Notify the room with activity in these areas, select the boxes for Started, Successful, and/or Failed.

Voila! you are good to go…

Haven’t tried Bitbucket Pipelines?

Bitbucket Pipelines is a continuous delivery service built right within Bitbucket so you can code, test, and deploy from a single tool with a unified workflow. There’s no need to switch to another application, no need to juggle permissions and access, or setup servers – just use Bitbucket Pipelines and get unlimited concurrent builds.

Try Bitbucket Pipelines

 

Have more specific questions about this post? Reach out to us on Twitter to get the information you need. 

Cheers, the Bitbucket team

Bitbucket ❤️ Unity Cloud Build

By on March 1, 2017

The Bitbucket team are excited to announce a brand new integration with Unity Cloud Build, just in time for GDC 2017!

Traditionally, game builds are compiled, tested, and packaged by developers via their IDE or another tool provided by the game engine SDK. This is sub-optimal as it wastes developer time and resources, excludes non-technical contributors from building the game, and requires builds to be uploaded and hosted somewhere to share with other team members. The situation is even worse if you target multiple platforms with your game, as you’ll need to create separate builds for each platform.

Fortunately, Unity Cloud Build provides automated builds and continuous integration for your Unity projects hosted on Bitbucket. Bitbucket’s new Unity Cloud Build integration improves this experience by allowing you to jump quickly from your source code in Bitbucket to a built, playable version of your game or app.

Bitbucket's Unity Cloud Build integration
Once the integration is enabled, Unity build logs and artifacts are posted to Bitbucket as build statuses, so you can jump from your source code in Bitbucket to a playable version of that same code with a single click. The integration automatically creates a sharable link for each game artifact, allowing any team member to access builds for the latest version or historical versions of their game – without having to wait for a developer to cut a build for them.

Your project, your platforms

Unity Cloud Build supports a range of target platforms including Android and iOS games and apps, desktop games for Windows, macOS, and Linux, and WebGL builds for the web! In fact, for WebGL builds, you can click straight from your code in Bitbucket to an interactive web player and play your game without having to download a build yourself.

Unity Cloud Build platforms, February 2017

Unity Cloud Build platforms, February 2017
Unity Cloud Build statuses will appear against their corresponding commits, branches, and pull requests in the Bitbucket UI. This makes it simple to:

If a build happens to fail, no game artifacts are generated, but a handy link to the build logs will be displayed instead so you can quickly debug the failure and get your project building again. Speaking of failed builds, Unity Cloud Build statuses are fully integrated with Bitbucket’s merge checks which can be optionally enabled to prevent failing code from being merged into master, keeping your game buildable at all times.

Getting started

Setting up Unity Cloud Build and Bitbucket integration is easy! Simply:

  1. Sign up for Bitbucket (if you haven’t already)
  2. Follow Unity’s excellent tutorial on Creating your First Cloud Build Project
  3. Enable Unity Cloud Build integration in Bitbucket

Once enabled, you’ll start seeing build statuses appearing after each build completes in Unity Cloud Build.

We’re at GDC 2017!

The Bitbucket and SourceTree team will be representing at GDC in force! If you want to catch a demo of the Unity Cloud Build integration, score some Atlassian swag, or have any questions about our game development tools: come and find us at Booth #336, South Hall Zone 2.

I’ll also be giving a talk – Collaborating on Unity Projects with Git – at 4pm in Room 3014, West Hall. It’ll feature the new Unity Cloud Build integration, alongside some tips for versioning Unity projects in Git, handling large assets with Git LFS, and Git workflows for game dev teams. Looking forward to seeing you there!

Get started, it’s free

Big strides in Cloud security: IP whitelisting & required 2-Step Verification in Bitbucket

By on February 28, 2017

We live in an age where data breaches are very common. In the last three years major retailers to modern tech companies have experienced massive data breaches – yet CompTIA research shows that most companies are still not fully prepared against security threats and haven’t taken necessary steps to overhaul their security measures. No matter how much focus is put on data security, it’s the end user that is ultimately the weakest link and can be vulnerable to password hacks.

To avoid this, it’s more important than ever that you aren’t just securing your account with a password, but also taking measures like two-step verification to keep your private content on Bitbucket, well… private. In addition to two-step verification, Bitbucket is taking security a step further for teams who store their source code in Bitbucket Cloud and desire additional security: team admins can require their teams to enable two-step verification and/or limit access to private code by IP address. Let’s take a deeper look at how admins can benefit from IP whitelisting and required 2-step verification.

Introducing IP whitelisting for your private code

With IP whitelisting enabled, users will only be able to interact (view, push, clone, etc.) with your account’s private content if they are accessing Bitbucket from an IP address you have selected and know is safe. If a user tries to access any of your team’s repositories, issue trackers, wikis, snippets or team settings from an un-whitelisted IP, they’ll receive an error. This helps prevent unwanted third parties from accessing your account even if they have acquired a team member’s email address and password. As the first of the leading Git repository management tools to provide advanced Cloud security like IP whitelisting, we’re taking steps to make teams feel safe storing their source code in the Cloud.

We’ve heard from several teams that using IP whitelisting with Bitbucket will allow them to move off on-prem version control systems and enjoy the savings and convenience of hosting their code in the cloud. When digging into the use cases and needs of these teams, we found some common themes for how this feature would be used:

“For Limpid Logic customers, remote access and IP whitelisting are sometimes a legal requirement, especially for clients in highly regulated industries such as finance and healthcare. Our work often deals with sensitive intellectual property that requires limited geographic access to repos from a few specific IPs,” said Bachir El Khoury, Managing Director at Limpid Logic. “IP whitelisting is exactly what we need within our business and we’re thrilled to see this security feature in Bitbucket.”

IP whitelisting is a feature of Bitbucket’s Premium plan and can be found under the access controls section of your account settings.

Ensure secure access with required two-step verification

Two-step verification (also known as 2FA) ensures your data will continue to be protected even if someone else gets your password. This is great for those who have it enabled as an extra security mechanism, but how do you really know if your team is taking advantage of this extra security? Manually following up is always an option for a small team, but what happens when your team grows to 10, 20, or more than 100?

We’re launching required 2-step verification in Bitbucket for these account administrators who require their team to have two-step verification to access private code. When you enable this option for your team, users will need to have two-step verification enabled in order to interact (view, push, clone, etc.) with your account’s private content: repositories, team settings, issue trackers, wikis, and snippets. If a user doesn’t have two-step verification enabled at the time of access, they’ll see instructions on how to enable two-step verification in the UI and continue.

cloud security features in bitbucket

Bitbucket’s Premium plan

Both of these features are available in Bitbucket’s Premium plan, which also includes merge checks, smart mirroring, 1,000 build minutes/month for Bitbucket Pipelines and 10 GB/month of Git Large File Storage (LFS). This plan specifically aims to improve the experience for administrators of teams with lots of users and repos, complex business requirements (as a result of industry standards, etc.) or both, which we’ve found become more prevalent as a team grows.

All features in this plan are in a free trial until pricing changes take effect when the plan will be available for $5/user/month. For a complete breakdown of our pricing and what falls in each plan, check out our pricing comparison page.

Try IP whitelisting and required 2-step verification

If you’re ready to enhance your security measures, sign up for a Bitbucket Cloud account. If you are already a Bitbucket customer, further documentation for IP Whitelisting and requiring two-step verification can be found here.

Get started, it’s free

Have more specific questions about this post? Reach out to us on Twitter to get the information you need.