Skip to content

Reason to Build documentation task#382

Open
dennis-behm wants to merge 1 commit intoIBM:mainfrom
dennis-behm:feature/reasontobuildtask
Open

Reason to Build documentation task#382
dennis-behm wants to merge 1 commit intoIBM:mainfrom
dennis-behm:feature/reasontobuildtask

Conversation

@dennis-behm
Copy link
Copy Markdown
Member

This tasks inspects the CHANGED_FILES and the BUILD_LIST to determine the reason why files got built: Either because they got changed, or they were identified as impacted files during impact analysis.

Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
@dennis-behm dennis-behm marked this pull request as ready for review March 3, 2026 07:30
@@ -0,0 +1,82 @@
@groovy.transform.BaseScript com.ibm.dbb.groovy.TaskScript baseScript
import com.ibm.dbb.metadata.MetadataStoreFactory
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove the MetadataStoreFactory import, not used in the script

}
if (verbose) printFileList(changedFiles)

// b) Files that are on the BUILD_LIST but not on the CHANGED_FILES list (impacted files)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orphaned "b)", no corresponding "a)". Suggest removal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants