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

Getting java.io.IOException: Expecting Ant GLOB pattern error while providing build path in Jenkins. I am configuring build deployment on Hockey app using Jenkins!

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Do
    • Component/s: hockeyapp-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.126
    • Similar Issues:

      Description

      Started by user Shrey Parashar Building in workspace C:\Users\admin\.jenkins\workspace\HotelAndroidApp Uploading to HockeyApp... java.io.IOException: Expecting Ant GLOB pattern, but saw 'D:/Original_Native_Script_Hotel_App_Code/hotel-mobile-app/platforms/android/app/build/outputs/apk/release/HotelSearch*/.apk'. See http://ant.apache.org/manual/Types/fileset.html for syntax at hudson.FilePath.glob(FilePath.java:1868) at hudson.FilePath.access$2400(FilePath.java:209) at hudson.FilePath$23.invoke(FilePath.java:1848) at hudson.FilePath$23.invoke(FilePath.java:1845) at hudson.FilePath.act(FilePath.java:1047) at hudson.FilePath.act(FilePath.java:1025) at hudson.FilePath.list(FilePath.java:1845) at hudson.FilePath.list(FilePath.java:1829) at hudson.FilePath.list(FilePath.java:1814) at hockeyapp.HockeyappRecorder.performForApplication(HockeyappRecorder.java:225) at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:203) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1819) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'Upload to HockeyApp' marked build as failure Finished: FAILURE

        Attachments

          Issue Links

            Activity

            Hide
            mezpahlan Mez Pahlan added a comment -

            As per this discussion I don't think you can use absolute paths in the Ant GLOB pattern. Can you please try this again with a relative path to the Jenkins workspace.

            Show
            mezpahlan Mez Pahlan added a comment - As per this discussion I don't think you can use absolute paths in the Ant GLOB pattern. Can you please try this again with a relative path to the Jenkins workspace.
            Hide
            shrey17 Shrey Parashar added a comment -

            Could you please tell me the syntax of Relative path needs to be mentioned in below App file field.

             

             

            Show
            shrey17 Shrey Parashar added a comment - Could you please tell me the syntax of Relative path needs to be mentioned in below App file  field.    
            Hide
            mezpahlan Mez Pahlan added a comment - - edited

            Thanks for the screenshot. Can you provide the following:

            1. Your SCM step where you "check out" your source into your Jenkins workspace.
            2. A brief explanation of your Jenkins topology.... master / master + node / master + two nodes / etc
            3. What version of the plugin you are using.

            Many thanks.

            Show
            mezpahlan Mez Pahlan added a comment - - edited Thanks for the screenshot. Can you provide the following: Your SCM step where you "check out" your source into your Jenkins workspace. A brief explanation of your Jenkins topology.... master / master + node / master + two nodes / etc What version of the plugin you are using. Many thanks.
            Hide
            mezpahlan Mez Pahlan added a comment -

            No response for over a month. Will close next week if no movement.

            Show
            mezpahlan Mez Pahlan added a comment - No response for over a month. Will close next week if no movement.
            Hide
            shrey17 Shrey Parashar added a comment -

            Issue Resolved!

            Show
            shrey17 Shrey Parashar added a comment - Issue Resolved!

              People

              • Assignee:
                mezpahlan Mez Pahlan
                Reporter:
                shrey17 Shrey Parashar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: