diff options
-rwxr-xr-x | jenkins-scripts/basic_settings.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jenkins-scripts/basic_settings.sh b/jenkins-scripts/basic_settings.sh index 412dfff38..37ca057d0 100755 --- a/jenkins-scripts/basic_settings.sh +++ b/jenkins-scripts/basic_settings.sh @@ -35,6 +35,11 @@ jenkins soft nofile 16000 jenkins hard nofile 16000 EOF +cat <<EOJENKINS_SUDO >/etc/sudoers.d/89-jenkins-user-defaults +Defaults:jenkins !requiretty +jenkins ALL = NOPASSWD: ALL +EOJENKINS_SUDO + cat <<EOSSH >> /etc/ssh/ssh_config Host * ServerAliveInterval 60 |