Compare commits
13 Commits
master
...
dev_local_
| Author | SHA1 | Date |
|---|---|---|
|
|
70165ad24e | |
|
|
3c66e2a748 | |
|
|
5b098329af | |
|
|
09d7d7220c | |
|
|
1a7d13354d | |
|
|
4498dffe46 | |
|
|
f196b1694c | |
|
|
629f7f0e20 | |
|
|
05df886453 | |
|
|
3a811e494b | |
|
|
7cfbe8652e | |
|
|
26fd29a5db | |
|
|
92fa7efdb1 |
|
|
@ -12,6 +12,7 @@ import java.util.List;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import org.apache.commons.io.Charsets;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
|
|
@ -304,6 +305,7 @@ public class GitService {
|
|||
+ host + "\nusername=" + username + "\npassword=" + password + "' | git credential approve";
|
||||
setGitCredential(setCmd, host);
|
||||
}
|
||||
logger.info("git初始化, cmd: {}, gitConfig: {}, out: {}", cmd, JSON.toJSONString(gitConfig), out);
|
||||
}
|
||||
|
||||
private void setGitCredential(String cmd, String host) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue