|
@@ -45,22 +45,22 @@ node{
|
|
|
stage('stage 2bis'){
|
|
stage('stage 2bis'){
|
|
|
sh 'ls -ls'
|
|
sh 'ls -ls'
|
|
|
}
|
|
}
|
|
|
- stage('Build Angular PreProduction')
|
|
|
|
|
- {
|
|
|
|
|
- //sh 'docker build -f build/docker/apache/Dockerfile -t sample-app:0.1 angular-client/dist'
|
|
|
|
|
- //sh 'docker run -d -p 8080:80 --name sample-app sample-app:0.1'
|
|
|
|
|
|
|
+ // stage('Build Angular PreProduction')
|
|
|
|
|
+ // {
|
|
|
|
|
+ // //sh 'docker build -f build/docker/apache/Dockerfile -t sample-app:0.1 angular-client/dist'
|
|
|
|
|
+ // //sh 'docker run -d -p 8080:80 --name sample-app sample-app:0.1'
|
|
|
|
|
|
|
|
- //imageApache=docker.build('server-apache-dev', '--no-cache -f build/docker/apache/Dockerfile .')
|
|
|
|
|
- //containerApache=imageApache.run('-p 8080:80')
|
|
|
|
|
|
|
+ // //imageApache=docker.build('server-apache-dev', '--no-cache -f build/docker/apache/Dockerfile .')
|
|
|
|
|
+ // //containerApache=imageApache.run('-p 8080:80')
|
|
|
|
|
|
|
|
- dir("${env.WORKSPACE}/angular-client")
|
|
|
|
|
- {
|
|
|
|
|
- //sh 'npm install'
|
|
|
|
|
- //sh 'npm run-script build'
|
|
|
|
|
- //sh 'npm install -g firebase-tools'
|
|
|
|
|
- //sh 'firebase deploy --token 1//034mfWw9ZUdOKCgYIARAAGAMSNwF-L9Ir-Ql0JG0M9RA3PJStufMSA-2gEVAiyiu6_plL9KQdHn3kuIiNGBVuDQpotPgjltv4nWc'
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // dir("${env.WORKSPACE}/angular-client")
|
|
|
|
|
+ // {
|
|
|
|
|
+ // //sh 'npm install'
|
|
|
|
|
+ // //sh 'npm run-script build'
|
|
|
|
|
+ // //sh 'npm install -g firebase-tools'
|
|
|
|
|
+ // //sh 'firebase deploy --token 1//034mfWw9ZUdOKCgYIARAAGAMSNwF-L9Ir-Ql0JG0M9RA3PJStufMSA-2gEVAiyiu6_plL9KQdHn3kuIiNGBVuDQpotPgjltv4nWc'
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
|
|
|
|
|
def imageApache = stage("Build apache preprod")
|
|
def imageApache = stage("Build apache preprod")
|