Jenkins App Distribution Site feat. neoroman/JenkinsAppDistTemplateSource
Language: HTML, PHP, Javascript, Unix Symblic Links
- This a template web site for iOS / Android application distributions.
- You can start jenkins build first then change config.json, lang/lang_ko.json, lang/lang_en.json etc.
- Apache Web Server (Not support Nginx)
- PHP 7.0 or later
jenkins-build.sh
as git submodule, seeInstallation
section- Check Apache configuration file to allow the web server to working with .htaccess:
<Directory /path/to/directory> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
- If the Apache configuration file changed, should reload web server.
Or using HomeBrew
sudo apachectl restart
brew services restart httpd
- Add pull rebase true to global configuration of git
git config pull.rebase true
-
First you should get
jenkins (bash) shell script
into your iOS or Android source working copy like following:git submodule add https://github.com/neoroman/JenkinsBuild.git jenkins
-
After create jenkins item and input followings into
Build
sectiongit submodule init git submodule update git submodule foreach git pull origin main bash -ex ${WORKSPACE}/jenkins/jenkins-build.sh -p ios --toppath "Company/Project"
or just add submoule in jenkins forcefully
git submodule add https://github.com/neoroman/JenkinsBuild.git jenkins git config -f .gitmodules submodule.jenkins.url https://github.com/neoroman/JenkinsBuild.git git submodule sync git submodule update --force --recursive --init --remote git submodule foreach git pull origin main bash -ex ${WORKSPACE}/jenkins/build.sh -p ios --toppath "Company/Project"
-
Jenkins probably failed for the first time.
-
Copy
config/config.json.default
toconfig/config.json
-
Edit
config/config.json
for various path for source, CLI commands, ... etc -
Copy
config/lang/lang_{ko,en}.json.default
tolang/lang_{ko,en}.json
-
Edit
lang/lang_{ko,en}.json
for messages on web pages.
config/config.json
: parameter for site global variableslang/lang_ko.json
: php-i18n for Koreanlang/lang_en.json
: php-i18n for English- You can add more langauge file in lang/ if you need.
- Copy
config/ExportOptions_AppStore.plist.default
toconfig/ExportOptions_AppStore.plist
- Edit values for keys properly for your Application informations in App Store
ALTERANT Corp. / Henry Kim / neoroman@gmail.com
See the LICENSE file for more info.