formation il y a 4 ans
Parent
commit
301c43cbae
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 2 2
      Jenkinsfile
  2. 4 4
      build/docker/apache/apache.conf

+ 2 - 2
Jenkinsfile

@@ -75,7 +75,7 @@ node{
                 
                     try 
                     {
-                        sh ('./node_modules/karma/bin/karma start karma.conf.js')
+                        sh ('karma start karma.conf.js')
                     }
                     catch(err) 
                     {
@@ -137,5 +137,5 @@ node{
     stage('Fin du Pipeline') 
     {
        sh 'echo "Félicitation tout c\'est bien déroulé!"'  
-    }
+w    }
 }

+ 4 - 4
build/docker/apache/apache.conf

@@ -1,6 +1,6 @@
 <VirtualHost *:80>
-   ServerName angular-prod.foodgame.fr
-   ServerAlias angular-prod.foodgame.fr
+   ServerName angular-preprod.foodgame.fr
+   ServerAlias angular-preprod.foodgame.fr
    #ProxyPreserveHost On
    #ProxyRequests Off
    #ProxyPass        / http://127.0.0.1:8080/
@@ -20,8 +20,8 @@
 
 <VirtualHost *:443>
    DocumentRoot /var/www/html
-   ServerName angular-prod.foodgame.fr
-   ServerAlias angular-prod.foodgame.fr
+   ServerName angular-preprod.foodgame.fr
+   ServerAlias angular-preprod.foodgame.fr
    #SSLEnable
    #SSLEngine ON
    #SSLCertificateFile path/to/server.crt