mirror of
				https://github.com/kitabisa/sonarqube-action.git
				synced 2025-10-31 04:54:19 +08:00 
			
		
		
		
	Add setting of projectVersion
This commit is contained in:
		
							parent
							
								
									accc346655
								
							
						
					
					
						commit
						5379cc65b4
					
				| @ -16,7 +16,11 @@ inputs: | ||||
|     required: false | ||||
|     default: "" | ||||
|   projectName: | ||||
|     description: "The project's name. If not given name will be generated by SonarQube" | ||||
|     description: "Name of the project that will be displayed on the web interface." | ||||
|     required: false | ||||
|     default: "" | ||||
|   projectVersion: | ||||
|     description: "The project version." | ||||
|     required: false | ||||
|     default: "" | ||||
|   projectBaseDir: | ||||
|  | ||||
| @ -13,6 +13,7 @@ fi | ||||
| [[ ! -z ${INPUT_PASSWORD} ]] && SONAR_PASSWORD="${INPUT_PASSWORD}" || SONAR_PASSWORD="" | ||||
| [[ -z ${INPUT_PROJECTKEY} ]] && SONAR_PROJECTKEY="${PWD##*/}" || SONAR_PROJECTKEY="${INPUT_PROJECTKEY}" | ||||
| [[ -z ${INPUT_PROJECTNAME} ]] && SONAR_PROJECTNAME="${PWD##*/}" || SONAR_PROJECTKEY="${INPUT_PROJECTNAME}" | ||||
| [[ -z ${INPUT_PROJECTVERSION} ]] && SONAR_PROJECTVERSION="${PWD##*/}" || SONAR_PROJECTKEY="${INPUT_PROJECTVERSION}" | ||||
| 
 | ||||
| 
 | ||||
| sonar-scanner \ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dariusz Dwornikowski
						Dariusz Dwornikowski