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

Need to deploy web files to webapp

    Details

    • Sprint:
      GSoC 2019. Coding Phase 2, GSoC 2019. Coding Phase 3
    • Similar Issues:

      Description

      We need a way (maybe via build-copy script?) to copy index.html and main.js to the webapp directory in the project, so they are available after installing the plugin. With the current config, they need to be copied to src/main/webapp/js/.

      Repro:

      • run `npm run build-copy` to build the webapp and copy it 
      • run `mvn install`
      • run a separate jenkins instance not tied to the project
      • install the plugin via the jenkins plugin UI
      • open the <your jenkins url>/working-hours route

      Expected:

      • Working hours UI is visible

      Actual

      • Error: index.html not found

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              shenjack Jack Shen
              Reporter:
              jeffpearce Jeff Pearce
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: