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

Need to deploy web files to webapp

    XMLWordPrintable

    Details

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

      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

          jeffpearce Jeff Pearce created issue -
          jeffpearce Jeff Pearce made changes -
          Field Original Value New Value
          Epic Link JENKINS-58303 [ 200411 ]
          jeffpearce Jeff Pearce made changes -
          Sprint GSoC 2019. Coding Phase 2 [ 691 ]
          oleg_nenashev Oleg Nenashev made changes -
          Sprint GSoC 2019. Coding Phase 2 [ 691 ] GSoC 2019. Coding Phase 2, GSoC 2019. Coding Phase 3 [ 691, 696 ]
          shenjack Jack Shen made changes -
          Epic Link JENKINS-58303 [ 200411 ] JENKINS-58757 [ 201061 ]
          shenjack Jack Shen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          shenjack Jack Shen made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          shenjack Jack Shen made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          sundar14051989 Sundar P made changes -
          Status Resolved [ 5 ] Fixed but Unreleased [ 10203 ]

            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: