Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,407
Community Members
 
Community Events
176
Community Groups

How do I ignore fail so that it can proceed to next step for using pipe. (Bitbucket Pipeline)

Edited

How do I ignore the error so that it can proceed to next step.

 

Why I want to ignore : 

 - This pipeline is for development environment.

 - There is few of other issues need to be fix first, so some code need to be deployed first without waiting for security fix.

 - The security fix is scheduled to fix at agreed time ( so there is few of other code need to be deployed first) .

 

 

image.png

 

My code :

- step: 
name: Atlassian Security Scan
clone:
enabled: true
script:
- pipe: atlassian/git-secrets-scan:0.6.0

1 answer

1 vote

@Mohamad Bathulah Bin Mohamad Mahir hi. Thanks for your question.
It's a bad practice to ignore security checks.
If you don't need to run step Atlassian Security Scan then you can exclude it from your configuration or make this step trigger manual.
Also you can create two parallel steps NPM Audit and Compress build and then trigger step Atlassian Security Scan

Regards, Igor.

The purpose of it actually not to ignore, but to fix it at a scheduled time, and during that there is few other code need to be deployed so yeah, instead of failing the process, how about give warning.

Like Igor Stoyanov likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events