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; - ''' - } + ''' } } }