Skip to content

Commit

Permalink
jfcli
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Oct 3, 2023
1 parent 587dff6 commit 527f581
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions linux/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,15 @@ def uploadAlpineArtifacts(String buildArch) {
env.TARGET = Target
echo "TARGET = ${TARGET}"

def CheckExists = (jf 'rt s ${TARGET}')

// try{
// def result = sh(script: jf 'rt s ${TARGET} --count' )
// }
// Execute the jf command and redirect output to a temporary file
jf 'rt s ${TARGET} --count' > temp_output.txt
// jf 'rt s ${TARGET} --count' > temp_output.txt
// Read the file content
def CheckExists = readFile('temp_output.txt').trim()

// def CheckExists = readFile('temp_output.txt').trim()
echo "Check : CheckExists"


Expand Down

0 comments on commit 527f581

Please sign in to comment.