Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Manuel Medina committed Dec 19, 2024
1 parent 416396c commit 11248b2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pipelineIC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,16 @@ jobs:
"https://sonarcloud.io/api/projects/create" \
-d "name=$REPO_NAME" \
-d "project=$REPO_NAME" \
#-d "organization=devsecopsusach" \
-d "visibility=public")
if [ "$create_response" -ne 201 ]; then
echo "¨Proyecto creado exitosamente (HTTP $create_response)."
echo "Proyecto creado exitosamente (HTTP $create_response)."
fi
echo "Estableciendo la rama [feature-jm] [main] como predeterminada..."
curl -s -f -X POST -u "$TK_SONARCLOUD:" \
"https://sonarcloud.io/api/project_branches/rename" \
-d "name=main" \
-d "name=feature-jm" \
-d "project=$REPO_NAME"
echo "project_created=true" >> $GITHUB_ENV
Expand Down

0 comments on commit 11248b2

Please sign in to comment.