https://github.com/kibotu/deploy-app-bundle-to-huawei-appgallery
Deploys app bundle to Huawei App Gallery. Jenkins & gradle task.
https://github.com/kibotu/deploy-app-bundle-to-huawei-appgallery
android appgallery ci deploy gradle huawei jenkins
Last synced: 3 months ago
JSON representation
Deploys app bundle to Huawei App Gallery. Jenkins & gradle task.
- Host: GitHub
- URL: https://github.com/kibotu/deploy-app-bundle-to-huawei-appgallery
- Owner: kibotu
- License: apache-2.0
- Created: 2022-03-30T14:46:42.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-30T14:50:50.000Z (about 3 years ago)
- Last Synced: 2025-02-05T05:29:44.294Z (4 months ago)
- Topics: android, appgallery, ci, deploy, gradle, huawei, jenkins
- Language: Groovy
- Homepage:
- Size: 140 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy App Bundle To Huawei AppGallery
Deploys app bundle to Huawei App Gallery. Jenkins & gradle task based on [Bitrise Task](https://github.com/ferPrieto/steps-app-gallery-deploy/blob/main/step.sh)
### Support
[Jenkins](deploy-app-bundle-to-huawei-appgallery/Jenkinsfile.groovy)
[Gradle Module](deploy-app-bundle-to-huawei-appgallery/build.gradle)
### Requirements
https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agcapi-getstarted-0000001111845114
IMPORTANT: when creating api key: 'N/A' as Project
**clientId**
**clientSecret**
**appId**
### How to use
##### Plain Gradle
```sh
# provided artifact
AAB=$(find "$(pwd -P)" -name "*.aab")./gradlew updateAppFileInfo --s \
-Paab=$AAB -PclientId=${clientId} \
-PclientSecret=${clientSecret} \
-PappId=${appId} \
-PsubmitForReview=false \
-PreleaseType=1 # 1: on the entire network, 3: by phase
```##### Jenkins Stage
```
def functions = load "deploy-app-bundle-to-huawei-appgallery/PipelineFunctions.groovy"
functions.deployBundleToAppGallery(aab, clientId, clientSecret, appId)
```[](Screenshot.png)
## Contributors
- [Jan Rabe](https://kibotu.net)
### License
Copyright 2022 Jan RabeLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.