From 6ec65cb93749b671c4835df4c008be0f808bc69b Mon Sep 17 00:00:00 2001 From: juckerj <39263956+jonasjucker@users.noreply.github.com> Date: Thu, 30 Jan 2025 17:56:37 +0100 Subject: [PATCH] create hash first, otherwise post-action fails (#99) --- jenkins/RemoteExtraction | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jenkins/RemoteExtraction b/jenkins/RemoteExtraction index f26ae75..fc681e5 100644 --- a/jenkins/RemoteExtraction +++ b/jenkins/RemoteExtraction @@ -17,6 +17,13 @@ pipeline { """ } } + stage('Create Hash from Build ID') { + steps { + sh """ + python3 src/hash.py --hash-file ${WORKSPACE}/hash.txt + """ + } + } stage('Validate User Input') { steps { withCredentials([string(credentialsId: 'd976fe24-cabf-479e-854f-587c152644bc', variable: 'GITHUB_AUTH_TOKEN')]) { @@ -28,13 +35,6 @@ pipeline { } } } - stage('Create Hash from Build ID') { - steps { - sh """ - python3 src/hash.py --hash-file ${WORKSPACE}/hash.txt - """ - } - } stage('Run GridExtpar') { steps { sh """