올챙이시절 기록소

Sonar-Qube 플러그인 설치하기 Upgrade & Downgrade 본문

2017/9월

Sonar-Qube 플러그인 설치하기 Upgrade & Downgrade

allroundplayer 2017. 10. 10. 10:09


 Sonar Qube LTS버전(5.6.6)을 설치하여 사용하다보면


* LTS : Long Term Service




내부 플러그인을 업그레이드 해야하는 경우가 있다



관리자 계정으로 접속하고


Administrator > System > Update Center 메뉴를 클릭하면


위의 스크린샷 처럼 보이게 되는데


0

Update & Restart 버튼 눌러주면 끝이다 ( 1~2분 이상 소요 )



Before

* Update 버튼을 누른다음 스샷을 찍다보니 extensions/downloads에 하나 잡혔다 


내부적으로는 이렇게 파일의 변경이 일어난다


After


Upgrade는 버튼만 누르면 알아서 다해준다


반면 Downgrade는 메뉴얼하게 해야한다


 요건을 도저히 맞출 수 없는 경우가 생기는데 이때는


파일을 직접 구해 


정해진 위치에 놓고


Sonarqube를 재시작 하면 된다


자세한 내용은 원문을 참고하길 바란다


Manual Installation

In the page dedicated to the plugin you want to install (ex: for Python : SonarPython), click on the "Download" link of the version compatible with your SonarQube version.  

Upload the downloaded jar file in your SonarQube Server and put it in the directory : $SONARQUBE_HOME/extensions/plugins.

If another version of the same plugin is already there, you need to remove it, since only one version of a given plugin may be available in the extensions/plugins directory.

Once done, you will need to restart your SonarQube Server.


Comments