Skip to content

Commit

Permalink
remove path hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
gfournieriExec committed Jul 12, 2024
1 parent bfb948d commit 3989113
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@Library('[email protected]') _

def userInput
path = '/home/ubuntu/jenkins/workspace/graph_Poco_Gen_'
currentBranch = 'feat_subgraph_c13'

node {
docker.image('node:20-alpine').inside('--user root') {
Expand All @@ -28,7 +26,6 @@ node {
stage('Setup Docker Image') {
sh 'apk add jq'
}
// cd '${path}''${currentBranch}' &&
stage('Building Subgraph') {
sh """
# Navigate to workspace directory and ensure the script is executable
Expand All @@ -38,7 +35,6 @@ node {
"""

// Validate subgraph file generation
// FILE='${path}''${currentBranch}'/subgraph.${userInput.network}.yaml
sh """
FILE=./subgraph.${userInput.network}.yaml
if test -f "\$FILE"; then
Expand Down

0 comments on commit 3989113

Please sign in to comment.