From 6d9d88fb4eba35ed42f205ed8ffe5f1ba4606d3f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 5 Oct 2023 23:45:09 +0200 Subject: [PATCH] Fixe typo in Jenkinsfile --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d7b2e4f..ad62b19 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -107,8 +107,7 @@ pipeline { archiveArtifacts allowEmptyArchive: true, artifacts: 'out/**/*.apk', onlyIfSuccessful: true } - stage('Uploading packages to repo form ${NativeArchNormalized}') { - steps { + stage("Uploading packages to repo form ${NativeArchNormalized}") { withCredentials([usernamePassword(credentialsId: 'GiteaPKGPUploadAuth', usernameVariable: 'UploadUsername', passwordVariable: 'UploadPassword')]) { sh ''' for apkFile in $(find -L ~/packages -name '*.apk'); @@ -116,8 +115,7 @@ pipeline { echo "Uploading $apkFile" curl --user $UploadUsername:$UploadPassword --upload-file $apkFile https://git.bprieshof.nl/api/packages/brammp/alpine/v3.18/pkgs done; - ''' - } + ''' } } }