Jenkinsfile commented
diff --git a/Jenkinsfile b/Jenkinsfile index 5208457..2b2f0ed 100644 --- a/Jenkinsfile +++ b/Jenkinsfile
@@ -1,28 +1,28 @@ pipeline { agent any stages { - stage('AuthAndAuth') { + stage('Build AuthAndAuth') { steps { dir("AuthAndAuth") { git branch: 'master', url: 'https://git.eclipse.org/r/openk-coremodules/org.eclipse.openk-coremodules.authandauth.git' sh 'mvn clean package' - sh 'mkdir webapps || true' - sh 'cp target/portal.war webapps/' + sh 'mkdir webapps || true' // create a webapps folder + sh 'cp target/portal.war webapps/' // move in the webapps folder-this folder will be moved in container using the Dockefile } } } - stage('portalFE') { + stage('Build portalFE') { steps { dir("portalFE") { git branch: 'master', url: 'https://git.eclipse.org/r/openk-coremodules/org.eclipse.openk-coremodules.portalFE.git' sh 'npm install' sh 'npm run build' sh 'mkdir ../AuthAndAuth/webapps/portalFE || true' - sh 'cp -r dist/* ../AuthAndAuth/webapps/portalFE/' + sh 'cp -r dist/* ../AuthAndAuth/webapps/portalFE/' // move in AuthAndAuth/the webapps folder } } } - stage('Deploy') { + stage('Deploy portal') { steps { dir("AuthAndAuth") { sh 'docker stop portal_container || true'