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

Project Branch Support #60

Merged
merged 6 commits into from
May 22, 2024
Merged

Conversation

RahulPidde23
Copy link

Changes
Added support of branching project

Test Cases

  1. Create a new project without enableSAST branching -
    Expected -Pipeline should be green - Working
  2. Run Scan with the existing project without enableSAST branching
    Expected -Pipeline should be green - Working
  3. Create a new project with enableSAST branching and masterbracnhing project is blank
    Expected -will get error (Scan cannot be completed. Master branch project name is mandatory to create branched project.) - Working
  4. Create new project with enableSAST branching and masterbracnhing project is invalid
    Expected - Error (Scan cannot be completed. Master branch project does not exist: abckjdkjdldkhebfffklf) - working
  5. Create new project with enableSAST branching and masterbracnhing project is valid one
    Expected - Pipeline should be green - CHeck SAST is project branched or not - working
  6. Run Scan with existing project and enableSAST branching and masterbracnhing project is valid one
    Expected -Pipeline should be green but it will not update branched project because its already add branched project for same - Working
  7. Enable checkbox Deny and Create new project without enableSAST branching
  8. Enable checkbox Deny and Create new project with enableSAST branching and masterbracnhing project is valid (Same expected result for 7 & 8 )
    Expected - Error (Scan cannot be completed. Creation of the new project [PB-Case-7] is not authorized. Please use an existing project. You can enable the creation of new projects by disabling the Deny new Checkmarx projects creation checkbox in the Checkmarx plugin global settings) - Working
  9. Enable checkbox Deny and Run Scan with existing project without enableSAST branching
    Expected - Pipeline should be green - Working

Copy link

@ThokalSameer ThokalSameer left a comment

Choose a reason for hiding this comment

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

Approved

Copy link

sonarcloud bot commented May 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@RahulPidde23 RahulPidde23 merged commit 888be8d into Q2_2024_Integration_Branch May 22, 2024
1 of 2 checks passed
@RahulPidde23 RahulPidde23 deleted the PLUG-1225 branch June 10, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants