Hi Thomas, After changing /master to /main branch name issue got resolved. Thanks for your help and support.
On Mon, Feb 21, 2022 at 11:46 PM Thomas Markus <[email protected]> wrote: > Hello, > > Am 22.02.22 um 01:49 schrieb Kamalakannan Anandan: > > Hello Everyone, > > > > I am new to Jenkins need help with one of the error message. I am > > trying to Build project when a push operation is done on GitHub. > > Please help me to resolve the issue. > > > > I just created a new project in the GitHub (JenkinsPractice) > > Created a new java program Hello world with Initial commit with the > > code. > > I am getting an error message in Jenkins. "ERROR: Couldn't find any > > revision to build. Verify the repository and branch configuration for > > this job." > this looks easy: you specified branch "master" in your jenkins build but > your repo has only branch "main" > Change "*/master" to "*/main" in branch specifier > > best regards > Thomas > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/0ecbee54-5a08-54b2-ba5d-9af89d6b5206%40proventis.net > . > -- Thanks and regards, Kamalakannan Anandan -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAA6yBG0bChXanXS_uXVdzC_bxbO7K9txQdzr5Hg_NDQ%3DxyynsQ%40mail.gmail.com.
