This is a seed project to quickly create a jenkins-ci new ux plugin. It comes with storybook and the storybook-specification plugins already setup. To make make it even easier to use it has Docker support to see the storybook server.
The presentation can be found in the branch "speed" to have master a clean seed and to delete less ;)
After cloning the repository you need to fist build the project.
mvn clean install
The above will as well do a npm install
. Please make sure that you have build the project before e.g. running with Docker.
When you first run the plugin via hpi:run
, you will need to follow the instructions to setup the newly created Jenkins.
However the next time you run the command it will be much faster.
mvn hpi:run
This will start a full jenkins around your plugin.
To demonstrate and simulate quickly different use-cases of our components we use storybook.
We further use storybook to implement unit testing and cover the acceptance criteria with them.
npm start
used for docker image - to start a new instance on http://localhost:9009npm run storybook
to start a new instance on http://localhost:9001npm run storybook:port 9999
to start a new instance on http://localhost:9999
docker build -t cloudbees/speed-custom-storybook .
docker run -d -p 9009:9009 --name bluebook cloudbees/speed-custom-storybook
Point to http://0.0.0.0:9009/