Skip to content
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

Default parameter for Coverity and Polaris #29

Closed
wants to merge 3 commits into from
Closed

Conversation

sadmananik
Copy link

No description provided.

bridgeInput.setPolaris((Polaris) scanObject);
}
}

private void setCoverityProjectNameAndStreamName(Coverity coverity, Object scmObject) {
String repositoryName = getRepositoryName(scmObject);
String gitURL = envVars.get(ApplicationConstants.ENV_GIT_URL_KEY);
String repositoryName = gitURL.replaceFirst("^.*\\/(.+?)\\.git$", "$1");

Choose a reason for hiding this comment

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

Need to check, should we extract repository name from git url ?

Can we use currentBuild.projectName from Global Variables Reference? As I can see, GitLab and ADO are using BUILD information in Integrations Default Values confluence page.

In the confluence page, GitHub, GitLab and ADO default values are specified, so we should decide first what values we are going to use for Jenkins.

cc: @jahid1209

@sadmananik sadmananik closed this Nov 20, 2023
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