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

Java classes generation from XSD with xjc does not work using Gradle plugin

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-plugin
    • None
    • Linux 3.2.0-3-amd64

      My projects includes Java classes generation from XSD during Gradle (version 1.3) build. I created respective build step using Gradle plugin. But build failed as Gradle did not manage to generate neither folder for generated classes nor generated classes itself.

      However, running Gradle build from workspace folder worked just fine.

      I worked around this problem discarding Gradle plugin and turning build step for Gradle build into shell command.

      Jenkins version: 1.494
      Gradle plugin version: 1.21

          [JENKINS-16147] Java classes generation from XSD with xjc does not work using Gradle plugin

          I think this is a problem of the Gradle Plugin (the build step), not the Gradle JPI Plugin (the plugin for building Jenkins plugins with Gradle). But please correct me if I'm wrong.

          Daniel Spilker added a comment - I think this is a problem of the Gradle Plugin (the build step), not the Gradle JPI Plugin (the plugin for building Jenkins plugins with Gradle). But please correct me if I'm wrong.

          Stefan Wolf added a comment -

          This seems like a permission issue for the Jenkins process. Could you report if this now works with the latest version of the plugin? If it doesn't work please re-open.

          Stefan Wolf added a comment - This seems like a permission issue for the Jenkins process. Could you report if this now works with the latest version of the plugin? If it doesn't work please re-open.

            gbois Gregory Boissinot
            martinlind Martin Lind
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: