Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRD for Plugins #14

Open
jflowers opened this issue Oct 13, 2020 · 0 comments
Open

CRD for Plugins #14

jflowers opened this issue Oct 13, 2020 · 0 comments

Comments

@jflowers
Copy link
Member

see: https://docs.sonarqube.org/latest/setup/install-plugin/

oc project devsecops

NEW_VERSION=6.3.2.22818

wget https://binaries.sonarsource.com/Distribution/sonar-java-plugin/sonar-java-plugin-$NEW_VERSION.jar

SONARQUBE_POD=$(oc get pods | grep sonarqube | grep -v operator | grep -v postgresql | awk '{print $1}')

oc exec $SONARQUBE_POD -i -t -- rm /opt/sonarqube/data/extensions/plugins/sonar-java-plugin-*.jar

oc cp ./sonar-java-plugin-$NEW_VERSION.jar $SONARQUBE_POD:/opt/sonarqube/data/extensions/plugins/sonar-java-plugin-$NEW_VERSION.jar

oc delete $SONARQUBE_POD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant