From 7f0ea50bac5062d6efcf8a75afa01850c5cd98f5 Mon Sep 17 00:00:00 2001 From: Caleb Warren Date: Mon, 24 Feb 2025 12:29:20 -0800 Subject: [PATCH] ignore any potential ssh keys (#22) * ignore any potential ssh keys * updating custodian path in Jenkinsfile * pulling over from rancher/rancher/.gitignore --- .gitignore | 6 +++++- scripts/custodian/Jenkinsfile | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index dbe9c82b36..9540586fe6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -.vscode/ \ No newline at end of file +.vscode/ +.DS_Store +.idea/ +.kube/ +*.pem diff --git a/scripts/custodian/Jenkinsfile b/scripts/custodian/Jenkinsfile index e2d08b24e1..0ee841ab8b 100644 --- a/scripts/custodian/Jenkinsfile +++ b/scripts/custodian/Jenkinsfile @@ -1,7 +1,6 @@ #!groovy node("vsphere-vpn-1") { - def rootPath = "/root/go/src/github.com/rancher/rancher/tests/scripts/" def job_name = "${JOB_NAME}" if (job_name.contains('/')) { job_names = job_name.split('/') @@ -64,7 +63,7 @@ node("vsphere-vpn-1") { userRemoteConfigs: repo ]) } - dir("./tests/scripts/custodian/") { + dir("./scripts/custodian/") { try { stage('Build Docker Image') { try {