Horje
sonarqube new project after creation in gitlab Code Example
sonarqube new project after creation in gitlab
# checking if the project exists
    - export is_project_existing=$(curl https://{$SONAR_TOKEN}@sonarcloud.io/api/projects/search?organization=myorganization | grep -w  $CI_PROJECT_NAME)
    - |
        if [[ ! -z $is_project_existing ]]; then	
          echo "Project exists on sonarcloud, proceeding to analysis"
        else 
          # creating new project
          curl -X POST https://{$SONAR_TOKEN}@sonarcloud.io/api/projects/create -d "name=$CI_PROJECT_NAME&project=myorganization_$CI_PROJECT_NAME&organization=myorganization"
        fi




Shell

Related
kali linux wired connection insted of wifi Code Example kali linux wired connection insted of wifi Code Example
Cannot open: https://centos7.iuscommunity.org/ius-release.rpm. Skipping Code Example Cannot open: https://centos7.iuscommunity.org/ius-release.rpm. Skipping Code Example
docker-compose-to-always-re-create-containers-from-fresh-images Code Example docker-compose-to-always-re-create-containers-from-fresh-images Code Example
sublime path for filezilla in ubuntu Code Example sublime path for filezilla in ubuntu Code Example
silent installation with powershell Code Example silent installation with powershell Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9