awslabs / awslabs/aws-codebuild-jenkins-plugin

Question: when git clone depth override is empty

Open
#132 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
156
Forks
130
PR merge metrics
No merged PRs in 30d

Description

https://github.com/awslabs/aws-codebuild-jenkins-plugin/blob/3fbfde23b8a8c71bcabfe241759846b5696f53de/src/main/java/CodeBuilder.java#L825-L832

Why is the plugin using `0` as override when the input value is empty? Doesn't it make more sense to use the pipeline default setting?

Contributor guide

Open the contributing guide

Research direction

Start at src/main/java/CodeBuilder.java lines 825-832 and trace how an empty git clone depth reaches the override value. Compare that behavior with the Jenkins pipeline default setting, then verify the intended result with the relevant plugin tests or a minimal reproduction; done means the empty input has a documented, tested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.