Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    ProGet Package Upload step fails in Jenkins

    Scheduled Pinned Locked Moved Support
    progetjenkins
    2 Posts 1 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I'm trying to create a Universal Package from Jenkins. When I run the build step, I get the following error:

      D:\Jenkins\Acquisition\EOI\EOI_Sep16>exit 0
      [ProGet] Packaging Artifacts
      ERROR: Build step failed with exception
      D:\Jenkins\Acquisition\EOI\EOI_Sep16 does not exist.
      at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
      at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
      at com.inedo.proget.api.ProGetPackager.getFileList(ProGetPackager.java:208)
      at com.inedo.proget.jenkins.UploadPackageBuilder.perform(UploadPackageBuilder.java:174)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      at hudson.model.Build$BuildExecution.build(Build.java:205)
      at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:408)
      Build step 'ProGet Package Upload' marked build as failuretext

      But I know that the content is present:

      D:\Jenkins\Acquisition\EOI\EOI_Sep16>dir d:\Jenkins\Acquisition\EOI\EOI_Sep16
      Volume in drive D is JENWK0D1VND01_D
      Volume Serial Number is ACAD-1029

      Directory of d:\Jenkins\Acquisition\EOI\EOI_Sep16

      09/01/2016 04:29 PM <DIR> .
      09/01/2016 04:29 PM <DIR> ..
      09/01/2016 04:28 PM 22,787 AllProjects_SONAR.sln
      09/01/2016 04:28 PM 256 AllProjects_SONAR.vssscc
      09/01/2016 04:28 PM <DIR> Application
      09/01/2016 04:29 PM <DIR> Assemblies
      09/01/2016 04:29 PM <DIR> Database
      09/01/2016 04:29 PM <DIR> Deployment
      09/01/2016 04:29 PM <DIR> ExternalDependencies
      09/01/2016 04:29 PM <DIR> InstallPackages
      09/01/2016 04:29 PM <DIR> Scripts
      09/01/2016 04:29 PM <DIR> Tests
      09/01/2016 04:29 PM <DIR> Web
      2 File(s) 23,043 bytes
      11 Dir(s) 17,781,252,096 bytes free

      Any ideas what is wrong? Jenkins and ProGet are running on a Windows Server 2012 server.

      Product: ProGet
      Version: 4.3.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Hi Stuart

        Could you let me know the settings you're using in the upload proget package build step in your Jenkins job and if you've changed any of the default settings in the advanced section of the build step?

        I've not been able to come up with a combination that causes an exception to be thrown in UploadPackageBuilder.java.

        Regards
        Andrew

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation