diff --git a/Jenkinsfile b/Jenkinsfile index 3e997ef47d3b014a4738959ca21235c1a52031fd..a97f069402245c901d3cd3ad036fbab85009fceb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { sh 'npm cache verify' sh 'npm install' - sh 'npm run build' + sh 'NODE_ENV=production npm run build' //sh 'npm run test' if (isMasterBranch()) { @@ -282,7 +282,7 @@ Void setNewTestVersion() { Void setNewGitopsVersion(String environment) { dir("gitops") { - def envFile = "${environment}/application/values/antragraum-client-values.yaml" + def envFile = "${environment}/application/values/antragsraum-client-values.yaml" def envVersions = readYaml file: envFile @@ -293,7 +293,7 @@ Void setNewGitopsVersion(String environment) { if (hasValuesFileChanged(environment)) { sh "git add ${envFile}" - sh "git commit -m 'jenkins rollout ${environment} antragraum-client version ${IMAGE_TAG}'" + sh "git commit -m 'jenkins rollout ${environment} antragsraum-client version ${IMAGE_TAG}'" } } } @@ -306,7 +306,7 @@ String getPackagejsonVersion() { } Boolean hasValuesFileChanged(String environment) { - return sh (script: "git status | grep '${environment}/application/values/antragraum-client-values.yaml'", returnStatus: true) == env.SH_SUCCESS_STATUS_CODE as Integer + return sh (script: "git status | grep '${environment}/application/values/antragsraum-client-values.yaml'", returnStatus: true) == env.SH_SUCCESS_STATUS_CODE as Integer } Boolean isReleaseBranch() { diff --git a/client/package-lock.json b/client/package-lock.json index 8b0465cfd1e55762d818ddc5e2ff1ddfa4ebca90..a65cf2950ddc666009c15741865399adbb3b0bd5 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "ozg-frontend-client", - "version": "0.3.1", + "version": "1.4.0-SNAPSHOT", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ozg-frontend-client", - "version": "0.3.1", + "version": "1.4.0-SNAPSHOT", "dependencies": { "axios": "^1.5.1", "react": "^18.2.0", diff --git a/client/webpack.config.js b/client/webpack.config.js index 425e4d8557804bc54415939fbc5bd40adbdd6102..0a56aeed1cee57b4e7678b63e75fcfb3dc2cd72b 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -47,7 +47,7 @@ module.exports = { publicPath: "/" }, mode: prod ? "production" : "development", - devtool: prod ? undefined : "eval-source-map", + devtool: prod ? "source-map" : "eval-source-map", module: { rules: [ {