Fixe typo in Jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -107,8 +107,7 @@ pipeline {
|
|||||||
archiveArtifacts allowEmptyArchive: true, artifacts: 'out/**/*.apk', onlyIfSuccessful: true
|
archiveArtifacts allowEmptyArchive: true, artifacts: 'out/**/*.apk', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Uploading packages to repo form ${NativeArchNormalized}') {
|
stage("Uploading packages to repo form ${NativeArchNormalized}") {
|
||||||
steps {
|
|
||||||
withCredentials([usernamePassword(credentialsId: 'GiteaPKGPUploadAuth', usernameVariable: 'UploadUsername', passwordVariable: 'UploadPassword')]) {
|
withCredentials([usernamePassword(credentialsId: 'GiteaPKGPUploadAuth', usernameVariable: 'UploadUsername', passwordVariable: 'UploadPassword')]) {
|
||||||
sh '''
|
sh '''
|
||||||
for apkFile in $(find -L ~/packages -name '*.apk');
|
for apkFile in $(find -L ~/packages -name '*.apk');
|
||||||
@@ -116,8 +115,7 @@ pipeline {
|
|||||||
echo "Uploading $apkFile"
|
echo "Uploading $apkFile"
|
||||||
curl --user $UploadUsername:$UploadPassword --upload-file $apkFile https://git.bprieshof.nl/api/packages/brammp/alpine/v3.18/pkgs
|
curl --user $UploadUsername:$UploadPassword --upload-file $apkFile https://git.bprieshof.nl/api/packages/brammp/alpine/v3.18/pkgs
|
||||||
done;
|
done;
|
||||||
'''
|
'''
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user