Skip to content

Commit

Permalink
test checkout scm in building subgraph stage
Browse files Browse the repository at this point in the history
  • Loading branch information
gfournieriExec committed Jul 10, 2024
1 parent 6f6ea5f commit fe90abe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Jenkinsfile_Subgraph_generic
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
Expand Down

0 comments on commit fe90abe

Please sign in to comment.