-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find GitSCM for project for workflow project? #234
Comments
@cliles we talked about this in IRC, but did you have any more luck with this? "Works on my machine!" :) |
ok, so I started fresh. New pipeline job set to pull Jenkinsfile from scm. Manually ran job, worked fine. Change configuration of the job to build on gitlab MRs, following the directions in the README for single-repository setup. Running the job via MR hook fails. You had previously stated something about manually running the job with parameters that "worked." This was required to be done 1 time before being able to build for MRs. What is this step? |
When configured for MRs, I get something like the following
|
After much discussion in IRC, we have determined that @cliles is hitting this Jenkins bug: https://issues.jenkins-ci.org/browse/JENKINS-28447 The plugin will work OK with WorkFlow jobs which define the workflow script in the Jenkins UI. If you use the git checkout method of pulling the script, it does not work because these variables are not expanded. |
i'm trying to configure a jenkins job using "multibranch pipeline", there is a mode to use this plugin for trigger the jobs? |
@adumat it should just work. Please update to version 1.2.1 of the plugin and report if you have any issues. Note the Jenkins bug I mentioned in #234 (comment). If you have any problems, please open a separate issue. |
[JENKINS-31827] Use default timeouts for URLConnections
Is there any tips/tricks/documentation for setup with a workflow project? Trying to trigger and build MRs.
I can see some recent PR's that "fixed" support, like #206, but when I setup a workflow job and point my hook to it I get something like
@omehegan - plz assist.
The text was updated successfully, but these errors were encountered: