From b40e7d2501192fb1e2029d7091fdf3d8fd71be22 Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: Jun 17 2022 09:07:30 +0000 Subject: Use the correct variable for API key As part of migration to OpenShift Jenkins we need to adjust some variables, one of them is where to obtain Duffy key. Signed-off-by: Michal Konečný --- diff --git a/.cico.pipeline b/.cico.pipeline index 3323f4f..e712534 100644 --- a/.cico.pipeline +++ b/.cico.pipeline @@ -35,7 +35,7 @@ node('pagure') { ]) stage('Allocate Node'){ - env.CICO_API_KEY = readFile("${env.HOME}/duffy.key").trim() + env.CICO_API_KEY = env.DUFFY_KEY duffy_rtn=sh( script: 'cico --debug node get -f value -c hostname -c comment', returnStdout: true