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

Error during push - invalid file permissions [v2.1]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • cloudfoundry-plugin
    • None
    • Ubuntu 16.04.3
      Oracle JDK 1.8.0_144-b01
      Jenkins 2.6.2 (from Ubuntu PPA)

      Hi folks,

      after upgrading my cloudfoundry plugin to 2.x from 1.x I receive the following error whenever I try to push a new app (static build pack) to Bluemix:
      org.cloudfoundry.client.v2.ClientV2Exception: CF-AppResourcesFileModeInvalid(160003): The resource file mode is invalid: File mode '444' is invalid. Minimum file mode is '0600'
      However when I connect to the build server and run the the same push via cf cli, within the jenkins workspace directory, it works. So it really seems to be a problem with the plugin.

      Also, it does not help changing the files permissions after the build (e.g. chmod 755).

      The project configuration in jenkins used to work before.

      Best
      Patrick

       

            sworisbreathing Steven Swor
            ppalacin Patrick Palacin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: