fix git username/address in jenkinsfile #9
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -132,7 +132,9 @@ pipeline {
|
||||
|
||||
sh(". ~/TOOLS_ENV/bin/activate && pip install simple_rest_client requests")
|
||||
sh(". ~/TOOLS_ENV/bin/activate && pip install git+https://chacha.ddns.net/gitea/chacha/pygitversionhelper.git@master")
|
||||
|
||||
|
||||
sh("git config --global user.email $_MaintainerEmail")
|
||||
sh("git config --global user.name $_MaintainerName")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -219,8 +221,6 @@ pipeline {
|
||||
// => little hacky... creating a new git repo with a commit/tag corresponding to HEAD of the official one
|
||||
if(_PROJECT_NAME=="pyChaChaDummyProject") //specific case to test the template itself
|
||||
{
|
||||
sh("git config --global user.email $_MaintainerEmail")
|
||||
sh("git config --global user.name $_MaintainerName")
|
||||
|
||||
sh("rm -Rf ~/_gitrepo || true")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user