From 5ef440384d538e6ddb9fe2ee7d277d8c98121433 Mon Sep 17 00:00:00 2001 From: yuobrezkov Date: Mon, 10 Mar 2025 17:47:09 +0300 Subject: [PATCH 1/2] Deleted Debug info --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c6e1324..2015108 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ def notify( -u "${giteaUser}:${giteaPass}" \ -H "Content-Type: application/json" \ -d '{"context":"${context}","state": "${status}", "description": "${description}"}' \ - ${repositoryUrl}${repositoryName}/statuses/${commitHash} + ${repositoryUrl}deployer3000${repositoryName}/statuses/${commitHash} """ } @@ -81,7 +81,6 @@ pipeline { echo "PR ${prId} merged successfully into master!" def context = "test-org/trust-module-frontend/pipeline/pr-${env.CHANGE_TARGET}" def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim() - echo "commit hash = ${commitHash}" notify(context, GITEA_USER, GITEA_PASS, env.GITEA_REPOSITORY_URL, "trust-module-frontend", commitHash, "success") } } -- 2.40.1 From 448ea7a5a65587a64744af4d21b5d697a8998ddb Mon Sep 17 00:00:00 2001 From: yuobrezkov Date: Mon, 10 Mar 2025 17:48:38 +0300 Subject: [PATCH 2/2] Added / to curl request --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2015108..02716bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ def notify( -u "${giteaUser}:${giteaPass}" \ -H "Content-Type: application/json" \ -d '{"context":"${context}","state": "${status}", "description": "${description}"}' \ - ${repositoryUrl}deployer3000${repositoryName}/statuses/${commitHash} + ${repositoryUrl}deployer3000/${repositoryName}/statuses/${commitHash} """ } -- 2.40.1