Question on Jenkins

74 views
Skip to first unread message

Priya Rs

unread,
Sep 28, 2021, 3:21:15 AM9/28/21
to Jenkins Users
Hi

I stopped and started Jenkins since the server hosting it had an issue : 

But now when I click on Configure I see the following:

Snapshot attached.How do I fix this?
--
Thanks
Priya
Screen Shot 2021-09-27 at 10.37.12 AM.png

Mark Waite

unread,
Sep 28, 2021, 8:37:59 PM9/28/21
to Jenkins Users
You'll need to provide a better description of what you expected to see as compared to what you see.  In that screen shot, I see:
  • Jenkins 2.164.1 - a Jenkins version that was released in 2019.  Multiple security advisories have been issued since that release.  If you're expecting security fixes, then upgrade to 2.303.1
  • No SCM configured - usually Jenkins jobs have an SCM configured.  Choose the SCM you prefer for that job and configure it
  • Build discarder may not be configured with limits.  If you want to limit the amount of build history you retain, assign values to the build discarder
 
--
Thanks
Priya

Priya

unread,
Sep 29, 2021, 12:30:08 PM9/29/21
to jenkins...@googlegroups.com
How do I do this?

  • No SCM configured - usually Jenkins jobs have an SCM configured.  Choose the SCM you prefer for that job and configure it


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/aa8bba3e-4f81-473b-bb3a-be674d24994dn%40googlegroups.com.

Mark Waite

unread,
Sep 29, 2021, 12:34:41 PM9/29/21
to Jenkins Users
Ask the people who configured that job originally to tell you the SCM configuration information.

If it was using a Git repository, you'll need a URL for that repository.  Usually those repository URL's are of the form https://git.example.com/someone/some-repo.git or g...@git.example.com:someone/some-repo.git.

There are many tutorials that will show you how to configure SCM for a Jenkins job.  I created one in 2014 that I called "Jenkins in 5 minutes".  Badly out of date, but illustrates the concepts. https://www.youtube.com/watch?v=NovHZZwlCfk

Priya

unread,
Sep 29, 2021, 12:37:26 PM9/29/21
to jenkins...@googlegroups.com

Mark Waite

unread,
Sep 29, 2021, 12:44:41 PM9/29/21
to Jenkins Users


On Wednesday, September 29, 2021 at 10:37:26 AM UTC-6 Priya wrote:
We use perforce 

Same instructions apply.  Ask the person who defined the job originally to tell you how its SCM was configured.  Configure it that way again.

Alternately, retrieve the config.xml file for that job definition from a backup and use the version from a backup.

P.S. Providing insufficient information and making others extract that information from you by one question at a time is a painful process and causes many contributors to stop answering questions.
 
Reply all
Reply to author
Forward
0 new messages