-
Notifications
You must be signed in to change notification settings - Fork 171
[CI] issue: 4568257 Blackduck fails creating log file #1163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
c36ada1 to
b08a2f9
Compare
Greptile SummaryFixed Blackduck log file creation failure by removing the
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Jenkins
participant Git
participant Blackduck
participant FileSystem
Note over Jenkins: User triggers release with release_tag
Jenkins->>Jenkins: Set sha1 = $release_tag (no tags/ prefix)
Jenkins->>Git: Fetch refs with refspec<br/>+refs/tags/*:refs/remotes/origin/tags/*
Git-->>Jenkins: Return commit at tag
Jenkins->>Jenkins: Checkout $sha1
Jenkins->>Blackduck: Run blackduck_source.sh
Note over Blackduck: PROJECT_VERSION = $sha1 (clean tag name)
Blackduck->>Blackduck: Execute scan
Blackduck->>FileSystem: Write log/LibVMA_${PROJECT_VERSION}*.log
Note over FileSystem: Path is valid (no tags/ subdir)
Blackduck->>FileSystem: Read log/${PROJECT_NAME}_${PROJECT_VERSION}*.log
FileSystem-->>Blackduck: Log contents
Blackduck->>Jenkins: Copy logs to WORKSPACE/logs/
Jenkins->>Jenkins: Archive artifacts
|
Greptile's behavior is changing!From now on, if a review finishes with no comments, we will not post an additional "statistics" comment to confirm that our review found nothing to comment on. However, you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
|
bot:retest |
b08a2f9 to
0090a50
Compare
sha1 might contain tag/<tag> as input, causing files created in the blackduck script to be under a new sub folder that does not exist Remove "tags/" prefix from sha1 Signed-off-by: NirWolfer <nwolfer@nvidia.com>
0090a50 to
6ebc894
Compare
Description
sha1 might contain tag/ as input, causing files created in the blackduck script to be under a new sub folder that does not exist
What
Remove "tags/" prefix from PROJECT_VERSION
Why ?
Justification for the PR. If there is existing issue/bug please reference.
How ?
It is optional but for complex PRs please provide information about the design,
architecture, approach, etc.
Change type
What kind of change does this PR introduce?
Check list