Browse Source

Revert the cico.pipeline changes for now

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Pierre-Yves Chibon 3 years ago
parent
commit
d225fda250
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .cico.pipeline

+ 2 - 1
.cico.pipeline

@@ -25,7 +25,7 @@ def syncfromduffynode(rsyncpath){
     sh 'rsync -e "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -l root " -Ha --include=' +  rsyncpath +  " ${DUFFY_NODE}.ci.centos.org:~/ ./"
 }
 
-node('cico-workspace') {
+node('pagure') {
 
     properties([
             parameters([
@@ -35,6 +35,7 @@ node('cico-workspace') {
             ])
 
     stage('Allocate Node'){
+        env.CICO_API_KEY = readFile("${env.HOME}/duffy.key").trim()
         duffy_rtn=sh(
             script: 'cico --debug node get -f value -c hostname -c comment',
             returnStdout: true