[JIRA] [workflow-plugin] (JENKINS-35609) GitStep is missing its descriptor with example build

0 views
Skip to first unread message

crummynz@gmail.com (JIRA)

unread,
Jun 10, 2016, 9:34:03 AM6/10/16
to jenkinsc...@googlegroups.com
malcolm crum created an issue
 
Jenkins / Bug JENKINS-35609
GitStep is missing its descriptor with example build
Issue Type: Bug Bug
Assignee: Jesse Glick
Attachments: jenkinsexception.txt
Components: workflow-plugin
Created: 2016/Jun/10 1:33 PM
Environment: Ubuntu 14.04
Labels: exception pipeline
Priority: Minor Minor
Reporter: malcolm crum

I've been testing the waters of Jenkins 2 as I'm interested in the pipeline workthrough but hit a snag.

1.

docker run -p 8080:8080 -p 50000:50000 --name jenkins2 jenkinsci/jenkins:2.8

2. Log in, create account, etc
3. Create Pipeline project
4. Configure
5. In Pipeline section, "try sample pipeline" > "Github + Maven"

Behaviour:

java.lang.AssertionError: class org.jenkinsci.plugins.workflow.steps.scm.GitStep is missing its descriptor
	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1304)

I get the same error when attempting to point to my own github repo.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

florian.fauvarque@gmail.com (JIRA)

unread,
Jun 10, 2016, 12:33:01 PM6/10/16
to jenkinsc...@googlegroups.com
Florian Fauvarque commented on Bug JENKINS-35609
 
Re: GitStep is missing its descriptor with example build

I also have the exact same issue with the 2.8 docker image.

nigel_charman@java.net (JIRA)

unread,
Jun 12, 2016, 5:56:01 AM6/12/16
to jenkinsc...@googlegroups.com

Do you have Git installed?

The sample pipeline docs include the step:

> 2. Only if you do not have Git installed on your Jenkins server: click Delete Git on the default Git installation and Add Git » JGit to replace it.

I had this exact error message. In my case, I had installed Git on the Jenkins server, but failed to restart Jenkins. After restarting Jenkins it was fixed.

jglick@cloudbees.com (JIRA)

unread,
Aug 29, 2016, 6:25:05 PM8/29/16
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Duplicate
 
Change By: Jesse Glick
Status: Open Resolved
Resolution: Duplicate
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages