Jenkinsfile adjusted
diff --git a/Jenkinsfile b/Jenkinsfile
index 2b2f0ed..45a4043 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -6,8 +6,7 @@
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' // 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
+ sh 'cp target/portal.war ./'
}
}
}
@@ -17,8 +16,8 @@
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/' // move in AuthAndAuth/the webapps folder
+ sh 'mkdir ../AuthAndAuth/portalFE || true'
+ sh 'cp -r dist/* ../AuthAndAuth/portalFE/' // move in AuthAndAuth/the webapps folder
}
}
}