Skip to content

Commit 3989113

Browse files
committed
remove path hardcoded
1 parent bfb948d commit 3989113

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Jenkinsfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
@Library('global-jenkins-library@2.7.7') _
22

33
def userInput
4-
path = '/home/ubuntu/jenkins/workspace/graph_Poco_Gen_'
5-
currentBranch = 'feat_subgraph_c13'
64

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

4037
// Validate subgraph file generation
41-
// FILE='${path}''${currentBranch}'/subgraph.${userInput.network}.yaml
4238
sh """
4339
FILE=./subgraph.${userInput.network}.yaml
4440
if test -f "\$FILE"; then

0 commit comments

Comments
 (0)