Comments (8)
From the line with the error, looks looks related with parametrization. Are you using in any of your rdiffweb* repos a parametrized branch name?
Not sure, but your error might happen if you use a git branch with a parameter but the project has no parameter defined. If that were the case, just appending or []
to line 98 of models/values/project.rb should work
from gitlab-hook-plugin.
I've recently create a new project with parameters, but it's not related to
Yep, I've recently create a new project with parameters. But it's not related to the repo git.patrikdufresne.com:pdsl/rdiffweb.git
.
Also, none of the repo listed in the logs is parametrized.
from gitlab-hook-plugin.
In any case, the fix I propose should work. Can you test it?
And if you could send me the config.xml for the rdiff* jobs, it might help to actually find the issue, even if the workaround works as expected.
from gitlab-hook-plugin.
ha ha, just to make sure, I've double-check each project configuration. One of them was parameterized, but without a parameter :S.
Anyway, I've fix the configuration and it's working again.
from gitlab-hook-plugin.
Thanks for you help and time !
from gitlab-hook-plugin.
Could you explain me what change did you perform in the job? When trying to issue a warning for a case like yours, I've realized that a project without parameters should never reach the line with your exception, because the protection I wanted to introduce was already there.
from gitlab-hook-plugin.
Forget my question. Looking again I see the issue now. At one place it checks if project is parametrized, that it does not mean that it has any parameter, which is the error reason. Now that I've seen it, I'll fix it and issue a warning to logfile
from gitlab-hook-plugin.
Hi what's the environment variable mean the branche name it is ${branch}
from gitlab-hook-plugin.
Related Issues (20)
- Hook execution failed: no project references the given repo url and commit branch
- Include GitLab group name in project name.
- Jenkins pipeline and Gitlab webhooks does not work HOT 1
- Support Violation Comments to GitLab Plugin
- NoMethodError - undefined method `getQuietPeriod' for nil:NilClass: when use webhook to trigger a pipeline?
- Generated job name: customize or omit the prefix
- System hooks not working for latest Gitlab (version 9)
- Double quotes are not escaped in commit message HOT 2
- How parametrized build could be performed
- Can't build project anymore HOT 4
- payload can't use dot(.) match
- Cann't trigger a build by merge request hook. HOT 2
- "undefined method `getQuietPeriod' for nil:NilClass" for jobs in folders
- How to read json payload from gitlab webhook in Jenkins HOT 1
- Cant call hook inside a folder with gitlab HOT 1
- ERROR: load error: openssl -- java.lang.VerifyError HOT 1
- Gitlab API token stored and displayed in plain text
- ruby-runtime plugin issue HOT 2
- installed this plugin but not working HOT 1
- CVE-2020-2096/SECURITY-1683 issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlab-hook-plugin.