while running the pipe its getting failed. why ?

Sathish Kumar Reddy October 11, 2024

while im using the pipe bitbucket dependency scanner its getting failed. 

Screenshot 2024-10-11 150451.png

2 answers

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 18, 2024

Hi @Sathish Kumar Reddy 

The new version of the pipe with http error handler for annotation is released:

script:
  - pipe: atlassian/bitbucket-dependency-scanner:0.1.3

 
Welcome to use it and provide us with a feedback about your case.

 

Best regards,
Oleksandr Kyrdan

Paul S
Contributor
October 31, 2024

Where is the web page/site for atlassian/bitbucket-dependency-scanner?

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2024

@Paul S hi.

You mean this one: bitbucket-dependency-scanner?

Additionally here is the pipe link to repository.

To discover more pipes: Bitbucket Pipes 


Regards, Igor

Like Paul S likes this
0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2024

Hi @Sathish Kumar Reddy . Thanks for your question.

Please provide more details with your configuration from bitbucket-pipelines.yml
and copy log output in text format (delete all sensitive data).

Regards, Igor

Sathish Kumar Reddy October 11, 2024

Hi Igor,
im using this owasp dependency check pipe 

- pipe: atlassian/bitbucket-dependency-scanner:0.1.2


this is custom run step
dependency-check:
- step:
name: "Dependency check"
size: 8x
services:
- docker
script:
- mkdir -p $BITBUCKET_CLONE_DIR/dependency-check-report
- npm install
# Get the first 8 characters of the Bitbucket commit hash
- pipe: atlassian/bitbucket-dependency-scanner:0.1.2
variables:
NVD_API_KEY: "api key"
EXTRA_ARGS:
- "--format=HTML"
- "--project=backend-report"
REPORT_DIR_PATH: "./dependency-check-report"
DEBUG: "true"
# CREATE_REPORT: "true"
artifacts:
- dependency-check-report/**

and this is error 




after the pipeline failed im getting the report in artifacts but not sure why its getting failed.
and thank u for responding..


Regards
Sathish

 

 

Screenshot 2024-10-11 174207.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events