Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52340

Unable to build Android Gradle project in jenkins

XMLWordPrintable

      I am trying to build the android project in Jenkins . But I am getting the below error
      Started by user
      Swetha
      Building in workspace C:\Program Files (x86)\Jenkins\workspace\Sample
      > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
      > C:\Program Files\Git\cmd\git.exe config remote.origin.url
      https://github.qualcomm.com/ProdTools/CTA.git

      1. timeout=10
        Fetching upstream changes from
        https://github.qualcomm.com/ProdTools/CTA.git
        > C:\Program Files\Git\cmd\git.exe --version # timeout=10
        > C:\Program Files\Git\cmd\git.exe fetch --tags --progress
        https://github.qualcomm.com/ProdTools/CTA.git
        +refs/heads/:refs/remotes/origin/
        > C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
        > C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
        Checking out Revision 81b142588ada770eeacd21e9f505b838c1a90c6e (refs/remotes/origin/master)
        > C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
        > C:\Program Files\Git\cmd\git.exe checkout -f 81b142588ada770eeacd21e9f505b838c1a90c6e
        Commit message: "Added AddResult to fta_sms for Send SMS"
        > C:\Program Files\Git\cmd\git.exe rev-list --no-walk 81b142588ada770eeacd21e9f505b838c1a90c6e # timeout=10
        [Gradle] - Launching build.
        FATAL: The Gradle wrapper has not been found in these directories: C:\Program Files (x86)\Jenkins\workspace\Sample
        Build step 'Invoke Gradle script' marked build as failure
        [android-lint] Skipping publisher since build result is FAILURE
        Sending e-mails to: vikasj@qti.qualcomm.com c_shuded@qti.qualcomm.com
        Finished: FAILURE

        1. jenkins.PNG
          jenkins.PNG
          113 kB
        2. gradle-wrapper.PNG
          gradle-wrapper.PNG
          107 kB
        3. jen.PNG
          jen.PNG
          117 kB

            oleg_nenashev Oleg Nenashev
            c_shuded swetha huded
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: