Skip to content

Instantly share code, notes, and snippets.

@aoztepe7
aoztepe7 / jenkins_scripts.md
Last active November 2, 2025 22:10
Jenkins Cheat Sheet #jenkins
Find a specific job and stop
def jobName = "san.api/business-partner-stage sanittestsanapi.tourvisio.com"
def job = Jenkins.instance.getItemByFullName(jobName)

if (job) {
    println "Job found: ${job.name}"
 
@aoztepe7
aoztepe7 / sql_session_status.md
Last active November 2, 2025 22:01
SQL Cheat Sheet #sql
Active Instance And Lock Status SQL
SELECT
    s.session_id,
    s.login_name,
    s.status,
    r.status AS request_status,
 r.blocking_session_id,
@aoztepe7
aoztepe7 / linux-cs.md
Last active November 2, 2025 22:06
Linux Cheat Sheet
Add username to sudoers file
su root  
nano /etc/sudoers
#Add following
user_name ALL=(ALL)  ALL