ciricihq / gitlab-sonar-scanner

This project is no longer maintained
GNU General Public License v3.0
80 stars 62 forks source link

add projectKey from env if not defined in properties #22

Closed oko-x closed 6 years ago

oko-x commented 6 years ago

problems in #19 is resolved here, if the file sonar-project.properties contains projectKey variable, it won't set from Env

reason for this change is to fix backward incompatible removal of ENV variable that I was using in many CI builds which would require update on multiple projects

new code supports definition of projectKey in this order from lowest priority: