diff --git a/Jenkinsfile b/Jenkinsfile index 38e6481..8bb1883 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -69,7 +69,7 @@ pipeline { withCredentials([string(credentialsId: 'sonar-token', variable: 'SONAR_TOKEN')]) { sh ''' /opt/sonar-scanner/bin/sonar-scanner \ - -Dsonar.projectKey=prometheus_cd \ + -Dsonar.projectKey=confdroid_prometheus \ -Dsonar.sources=. \ -Dsonar.host.url=https://sonarqube.confdroid.com \ -Dsonar.token=$SONAR_TOKEN @@ -112,7 +112,7 @@ pipeline { git branch -D jenkins-build-$BUILD_NUMBER git rm -f Jenkinsfile git commit --amend --no-edit --allow-empty - git remote add master https://gitea.confdroid.com/confdroid/confdroid-prometheus.git + git remote add master https://gitea.confdroid.com/confdroid/confdroid_prometheus.git git -c credential.helper="!f() { echo username=${GITEA_USER}; echo password=${GITEA_TOKEN}; }; f" \ push master --mirror '''