reveurguy
(Priyanshu Singh)
July 4, 2022, 11:34am
1
I am new to Jenkins and am trying to set the website locally. I am getting this error on the
mvn -pl war jetty:run -Dskip.yarn
command.
Any idea about this error and how can it be solved?
reveurguy
(Priyanshu Singh)
July 4, 2022, 11:35am
2
Then after running yarn start
, I am getting this error.
halkeye
(Gavin Mogan)
July 4, 2022, 4:53pm
4
So based on your other thread I assumed you wanted to work on Jenkins.io .
Are you trying to work on Jenkins itself?
Why are you skipping yarn?
This and the next screenshot are saying you are missing the npm modules. Probably from skipping the yarn step
reveurguy
(Priyanshu Singh)
July 5, 2022, 7:48am
5
yes I want to work on jenkins.io .
In the contributing file in the repository, mvn -pl war jetty:run -Dskip.yarn
command is mentioned to build frontend assets.
reveurguy
(Priyanshu Singh)
July 5, 2022, 7:50am
6
Also i tried the command without -Dskip.yarn
but got the same error.
halkeye
(Gavin Mogan)
July 5, 2022, 8:16am
7
Well your code is Jenkins, not Jenkins.io , Jenkins.io doesn’t have any java or Maven
:toc:
:toc-placement: preamble
:toclevels: 3
= Contributing to jenkins.io
image:https://badges.gitter.im/jenkinsci/docs.svg[link="https://gitter.im/jenkinsci/docs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge"]
toc::[]
== Getting Started
To contribute to this repository you will
link:https://guides.github.com/activities/forking/[fork this repository],
push changes to a branch in your fork, and then
link:https://help.github.com/articles/creating-a-pull-request-from-a-fork/[create as a pull request]
from that branch to the `master` branch of this repository.
Forking only needs to be done once, after which you can push changes to your fork
using the GitHub website file editor or from a local clone, as described below.
This file has been truncated. show original
1 Like
reveurguy
(Priyanshu Singh)
July 5, 2022, 8:32am
8
Ooh ok. It wasn’t mentioned anywhere so i confused it to be for the web as many projects have the website code in their main repo. Thanks for letting me know the correct repo!!