Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Atlassian DevOps Toolchain Cookbook

You're reading from   Atlassian DevOps Toolchain Cookbook Recipes for building, automating, and managing applications with Jira, Bitbucket Pipelines, and more

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781835463789
Length 504 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (4):
Arrow left icon
Rodney Nissen Rodney Nissen
Author Profile Icon Rodney Nissen
Rodney Nissen
Robert Wen Robert Wen
Author Profile Icon Robert Wen
Robert Wen
Alex Ortiz Alex Ortiz
Author Profile Icon Alex Ortiz
Alex Ortiz
Edward Gaile Edward Gaile
Author Profile Icon Edward Gaile
Edward Gaile
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1:Beginning the Cycle FREE CHAPTER
2. Chapter 1: An Introduction to DevOps and the Atlassian Ecosystem 3. Chapter 2: Discovering Customer Needs with Jira Product Discovery 4. Chapter 3: Planning and Documentation with Confluence 5. Part 2: Development to Deployment
6. Chapter 4: Enabling Connections for Design, Source Control, and Continuous Integration 7. Chapter 5: Understanding Bitbucket and Bitbucket Pipelines 8. Chapter 6: Extending and Executing Bitbucket Pipelines 9. Chapter 7: Leveraging Test Case Management and Security Tools for DevSecOps 10. Chapter 8: Deploying with Bitbucket Pipelines 11. Chapter 9: Leveraging Docker and Kubernetes for Advanced Configurations 12. Part 3: Maintaining Operations
13. Chapter 10: Collaborating with Operations through Continuous Deployment and Observability 14. Chapter 11: Monitoring Component Activity and Metrics Through CheckOps in Compass 15. Chapter 12: Escalate Using Opsgenie Alerts 16. Part 4: Putting It into Practice
17. Chapter 13: Putting It All Together with a Real-World Example 18. Chapter 14: Appendix – Key Takeaways and the Future of Atlassian DevOps Tools 19. Index 20. Other Books You May Enjoy

Testing steps in Bitbucket Pipelines

A key step that may be done on a pipeline for continuous integration typically comes post-build. Testing immediately after the build allows for defects to be found and sorted out, guaranteeing better quality in the code base.

The testing steps in this recipe utilize a category of testing called static analysis. With static analysis, the files in the build are scanned to see whether they contain logical errors, security vulnerabilities, or other issues.

Linting is another type of scanning technique that performs tests by evaluating the syntax and structure of the code base. It can also determine whether the code base being evaluated meets specific coding standards.

We will examine different methods of invoking linting and scanning from Bitbucket Pipelines.

How to do it…

Depending on the language, a linting utility may be part of the suite of tools for developing in that language. Let’s see how that works with Bitbucket...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime