Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-996

Sometimes appc ask for a login and then the build breaks using jenkins CI job

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: Release 5.2.2
    • Fix Version/s: None
    • Component/s: Core

      Description

      Scenario:
      We want to setup a CI job on our jenkins server to build the app after each Git push from a developer. On our CI system there is no user, just the jenkins build which calls appc. Sometimes appc ask for a login and then the build breaks.

      So when the re-login is forced the build will hang and fail.

      So jenkins executes the build, something like:
      appc ti build --colors --platform android --deploy-type production --target dist-playstore --keystore <ourfile> --store-password "secret" --key-password "secret" --output-dir "workspace/dist"

      Reproduction:
      Command line is:
      appc ti build --colors --platform android --deploy-type production --target dist-playstore --keystore <ourfile> --store-password "secret" --key-password "secret" --output-dir "workspace/dist"

      If you create a bash script / batch job which calls this line for a sample project every hour and you let the test case run for more than about one week you would get the login request during some call.

      For details please look into the intercom link:
      https://app.intercom.io/a/apps/k9rdlb68/inbox/shossain@appcelerator.com/conversations/1850432934

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jnaher Jebun Naher (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration