Thanks to visit codestin.com
Credit goes to github.com

Skip to content

neoroman/JenkinsAppDistTemplateSource

Repository files navigation

App Distribution Web Site Template

Language: HTML, PHP, Javascript

Introduction

  • 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.

Requirements

  • Apache or Nginx web server
  • PHP 7.0 or later
  • jenkins-build.sh as git submodule, see Installation section

Installation

  • 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 section

      git 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 to config/config.json

  • Edit config/config.json for various path for source, CLI commands, ... etc

  • Copy config/lang/lang_{ko,en}.json.default to lang/lang_{ko,en}.json

  • Edit lang/lang_{ko,en}.json for messages on web pages.

Configuration

  • config/config.json: parameter for site global variables
  • lang/lang_ko.json: php-i18n for Korean
  • lang/lang_en.json: php-i18n for English
  • You can add more langauge file in lang/ if you need.

Configuration for only App Store

  • Copy config/ExportOptions_AppStore.plist.default to config/ExportOptions_AppStore.plist
  • Edit values for keys properly for your Application informations in App Store

Author

COMPANY Corp. / [email protected]

License

See the LICENSE file for more info.

About

App Distribution Web Site Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors