Solid-State Society

  • Archives
  • About
  • Services

Allow sudo commands in Jenkins

Written by

Error-Prone

in

Blog

CentOS version. You should edit sudoers file:

First add jenkins as sudoer without password:

jenkins ALL= NOPASSWD:  ALL

Then disable requiretty:

Defaults    !requiretty

Related Posts

  1. Fix rsync “Host Key Verification Failed” in Jenkins
  2. Ubiquiti UniFi Account/User Credentials Cheatsheet
  3. Remove Aliyun Aegis (`aliyundun`) and `aliyun-service`
  4. Run `sudo` with Ansible `become` Option on Google Compute Engine
  5. 攻殼機動隊 Ghost in the Shell 音樂合集列表
CentOS Jenkins sudo sudoers
←Export Compact SVG with Sketch
Fix rsync “Host Key Verification Failed” in Jenkins→

More posts

  • Storm SSH Alternative for fish Shell

    July 22, 2023
  • Mac mini 10GbE Packet Loss Issue with Energy Efficient Ethernet (EEE)

    January 6, 2023
  • GitHub Actions – Cross Repository Event Triggering with Repository Dispatch

    May 31, 2022
  • Custom VS Code Activity Bar Color Scheme for Light Color Mode

    April 19, 2022

Solid-State Society

ソリッドステート ソサイエティ