formation 5 年 前
コミット
2002e3952a
2 ファイル変更3 行追加2 行削除
  1. 2 1
      Jenkinsfile
  2. 1 1
      build/docker/apache/Dockerfile

+ 2 - 1
Jenkinsfile

@@ -35,10 +35,11 @@ node{
     stage('stage 2bis'){
         sh 'ls -ls'
     }
+    
     stage('SonarQube analysis') { 
         def scannerHome = tool 'sonar_scanner'; 
         
-        withSonarQubeEnv('SonarQube') 
+        withSonarQubeEnv('FatboarSonar') 
         {
              // If you have configured more than one global server connection, you can specify its name 
              sh "${scannerHome}/bin/sonar-scanner -Dsonar.login=admin -Dsonar.password=admin" } 

+ 1 - 1
build/docker/apache/Dockerfile

@@ -12,7 +12,7 @@ RUN docker-php-ext-install opcache \
 COPY $PWD/build/docker/apache/app_php.ini /usr/local/etc/php/conf.d/app_php.ini
 COPY $PWD/build/docker/apache/apache.conf /etc/apache2/sites-available/foodgame.fr.conf
 
-RUN a2dissite 000-default 
+#RUN a2dissite 000-default 
 RUN a2ensite foodgame.fr default-ssl
 
 WORKDIR /var/www/index.html