From fe90abe233dc97cb84be6340faf5695ee2a87a8c Mon Sep 17 00:00:00 2001 From: Gabriel Fournier Date: Wed, 10 Jul 2024 14:18:05 +0200 Subject: [PATCH] test checkout scm in building subgraph stage --- Jenkinsfile_Subgraph_generic | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile_Subgraph_generic b/Jenkinsfile_Subgraph_generic index 340448a..35f8db9 100644 --- a/Jenkinsfile_Subgraph_generic +++ b/Jenkinsfile_Subgraph_generic @@ -6,9 +6,9 @@ def userInput node { docker.image('node:20-alpine').inside('--user root') { - stage('Setup') { - checkout scm - } + // stage('Setup') { + // checkout scm + // } stage('Deployement form') { timeout(time: 5, unit: 'MINUTES') { userInput = input( @@ -28,6 +28,7 @@ node { sh 'apk add jq' } stage('Building subgraph') { + checkout scm sh "./generate_subgraph.sh '$userInput.network'" sh """ FILE=./subgraph.'$userInput.network}'.yaml