Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColor#C3CCD7
bgColor#FCFCFC

Table of Contents

Table of Contents
indent16px

Administrators can access the Update Center via Administration > System > Update Center. The Update Center is the place for keeping the SonarQube platform up to date. It lets you:


See

  • Installed plugins
  • Plugin updates
  • Other plugins that are compatible with your version of the platform
  • Platform updates

Install

  • New plugins
  • Plugin updates

To use most of these functions (other than listing currently installed plugins), your SonarQube server needs Internet access. Installations require the platform to be restarted before they take effect.

Installed Plugins

This view displays the list of installed plugins and the list of system plugins. Upgrade availability is indicated inline with the addition of an Upgrade button, and plugins can be uninstalled by clicking on the Uninstall button.

Image Removed

Available Plugins

This view shows plugins available for your SonarQube version. They can be installed by a simple click on Install:

Image Removed

System Updates

This view shows new SonarQube versions available, and any plugin changes that would be required for the upgrade (the vast majority of plugins maintain compatibility from one platform version to the next). Installation of new SonarQube versions is manual.

Pending Operations

When taking an action in the update center (installing, updating or uninstalling a plugin), a yellow area appears at the top of the page showing pending operations that will be executed once SonarQube is restarted. Pending operations can be canceled until the server is restarted:

Image Removed

Using the Update Center behind a Proxy

Update Center uses HTTP(S) connections to external servers to provide these services. If SonarQube is located behind a proxy, additional information must be provided in the 시스템 관리자(administrators)는 마켓플레이스(Administration > Marketplace 메뉴)에 접근할 수 있습니다. Marketplace에서 SonarQube 플랫폼을 최신 상태로 유지할 수 있으며, 다음 정보를 확인할 수 있습니다:

  • 설치된 플러그인
  • 설치된 에디션 (플러그인 패키지)
  • 플러그인 업데이트
  • 운용중인 SonarQube 버전과 호환되는 기타 플러그인

다음을 설치할 수 있습니다:

  • 신규 플러그인
  • 신규 에디션 (플러그인 패키지)
  • 플러그인 업데이트

이 기능들(단지 현재 설치된 플러그인 목록을 표시하는 것 이외의)을 사룡하기 위해서는 SonarQube 서버가 인터넷과 연결되어 있어야 합니다. 플러그인을 설치한 뒤에는 플랫폼을 재시작해야 합니다.

대기중인 오퍼레이션

마켓플레이스에서 오퍼레이션을 수행하면(플러그인 설치, 업데이트 및 제거) 페이지 상단의 노란 영역에 대기 중인 오퍼레이션은 SonarQube 서버 재시작이후 실행된다는 메시지가 표시됩니다. 대기중인 오퍼레이션은 서버를 재시작하기 전 언제라도 취소할 수 있습니다.

프록시 뒤에서 마켓플레이스 사용하기

마켓플레이스는 외부 서버에 HTTP(S) 연결을 사용해 서비스를 제공합니다. SonarQube 서버가 프록시 뒤에 위치하는 경우, SONAR_HOME/conf/sonar.properties configuration file: 설정 파일에 추가 설정을 적용해야 합니다:

Code Block
languagebash
http.proxyHost=<your.proxy.host>
http.proxyPort=<yout.proxy.port>

#If proxy authentication is required
http.proxyUser=<your.proxy.user>
http.proxyPassword=<your.proxy.
password> 
password> 

Note: the same properties can be used in the  HTTPS 연결을 사용하는 경우 'https.' form for HTTPS connections

Restart SonarQube

Restarting SonarQube can be done manually from the command line by running sonar.sh restart or directly from the UI :

  • in the Update Center when you have Pending Changes, the restart button will be displayed in the yellow banner (see Pending Operations)
  • in the System Info page at any time

Manual Updates

If your server has no access to the internet, then you won't be able to rely on the Update Center for plugins, and will have to handle plugin installations and upgrades manually.

To know what plugins are available and which version of a plugin is appropriate for your server, use the plugin version matrix, which is kept up to date with plugin availability and compatibility.

To install a plugin, simply download it using the manual download link on the plugin documentation page, place it in [sonarqube-home]/extensions/downloads, and restart the server.속성값에 동일한 설정값을 적용할 수 있습니다.

SonarQube 서버 재시작

sonar.sh restart 커맨드 명령어를 사용하거나 UI의 버튼을 클릭해 SonarQube 서버를 재시작할 수 있습니다:

  • 업데이트 센터에 대기 중인 변경 사항이 있는 경우, 노란색 배너 영역에 restart 버튼이 표시됩니다('대기 중인 오퍼레이션' 참조)
  • 시스템 정보 페이지에 항상 restart 버튼이 표시됩니다

수동 업데이트

SonarQube 서버가 인터넷에 연결되어 있지 않은 경우, 플러그인 관리를 위해 마켓플레이스를 정상적으로 사용할 수 없으며, 플러그인 설치나 업그레이드를 수작업으로 진행해야 합니다.

SonarQube 서버 버전과 호환되는 플러그인 정보는 plugin version matrix를 참조합니다(해당 페이지는 항상 최신으로 업데이트 됩니다).

플러그인 문서 페이지에서 설치하고자 하는 플러그인 파일을 다운로드 한뒤 SONARQUBE_HOME/extensions/downloads 디렉토리에 복사한 후, SonarQube 서버를 재시작합니다.

마켓플레이스가 접근하는 URL 정보

SonarQube 마켓플레이스는 플러그인 리스트 정보 획득을 위해 https://update.sonarsource.org/에 접속합니다. 대부분의 플러그인은 다음 url을 통해 다운로드합니다: