k4zz - 2024-03-18

Currently, I am working on integrating static code analysis into our CI/CD pipeline. Specifically, I have successfully performed static code analysis for .project types, and it works flawlessly. However, I have encountered difficulties in executing the same for .library types. In this regard, I have tried two methods:

system.commands["staticanalysis", "run"].execute()
# get Project values
myProject = projects.primary

# Creates an active application
app = myProject.active_application

# build Application and run static code analysis 
app.generate_code()

your help is greatly appreciated.