Compare commits

...

1 Commits

Author SHA1 Message Date
apoltavtsev
0d61de8384 fix(APPINT-32494) cleanup Studio artifact sensitive parameters in 2021-09-20 09:17:15 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -735,9 +735,6 @@
} catch (java.lang.RuntimeException e) {
//do nothing
}
} else {
context.<%=ctxParam.getName()%> = pwd_<%=ctxParam.getName()%>_value;
context.put("<%=ctxParam.getName()%>",context.<%=ctxParam.getName()%>);
}
}
<%

View File

@@ -115,6 +115,8 @@ public class BuildJobHandler extends AbstractBuildJobHandler {
argumentsMap.put(TalendProcessArgumentConstant.ARG_ENABLE_STATS, isOptionChoosed(ExportChoice.addStatistics));
argumentsMap.put(TalendProcessArgumentConstant.ARG_ENABLE_TRACS, isOptionChoosed(ExportChoice.addTracs));
argumentsMap.put(TalendProcessArgumentConstant.ARG_AVOID_BRANCH_NAME, isOptionChoosed(ExportChoice.avoidBranchName));
argumentsMap.put(TalendProcessArgumentConstant.ARG_CLEAR_PASSWORD_CONTEXT_PARAMETERS,
isOptionChoosed(ExportChoice.clearPasswordContextParameters));
Properties prop = (Properties) exportChoice.get(ExportChoice.properties);
if (prop != null) { // add all properties for arugment map.
Enumeration<Object> keys = prop.keys();

View File

@@ -233,6 +233,7 @@ public abstract class JobScriptsManager {
registryPassword,
avoidBranchName,
mainJobOnly,
clearPasswordContextParameters,
bundleVersion
}