This is the development repo for Jenkins Working Hours Plugin, the new features will be updated and tested in this repo.
The frontend app is built with Webpack and React, running a standalone web app outside the Jenkins plugin is simple as below:
After the repo is cloned:
cd ./working-hours-plugin/react
# This is where our React sub-project located.
yarn install or npm install
# Install the dependencies
yarn run start or npm run start
# Start the dev serverThen the web app is running at http://localhost:3000, any changes in the app directory could be sync to the web page at once.
In order to interact with the plugin service so that we could persistent out data, we need to run the plugin:
#make sure that you are under the root dir.
mvn package
mvn install
mvn hpi:run When the jenkins is running, our requests could be proxied to the jenkins service.