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
Integration bower install with Jenkins #525
Comments
What version of git is installed ( |
It's 1.7.10 version. |
Ok, lets back up a bit and get some more information then. What exactly are you seeing? Is there any output other than "error code 128"? When on the box with Jenkins, what happens if you try a What exactly did you do for the "https hack"? |
This is the complete stacktrace C:\Program Files (x86)\Jenkins\indus>bower install �For the hack it's just the command line : git config --global url."https://".insteadOf git:// |
Can you verify the config change was applied to the jenkins user's git account. Just running the So when, running as the jenkins user, you run |
It's in the list for the Jenkins user ... url.https://.insteadof=git:// In fact this config is in the git config file project so it's everywhere for all users ... |
Update : it works if Jenkins is on a linux server ! But not on a windows server :/ |
I have no problem running bower under Jenkins.
|
Follow @mallim suggestions, I will reopen if necessary. |
Hi, I cannot execute bower in Jenkins environment:
Here my shell task:
npm and grunt work... I'm executing this in Jenkins on a CentOS 6 with bower 1.0. Any ideas? |
Hi , I am facing exactly the same problem mentioned by "sebastiendavid" with the same environment. Executing 'bower install' from terminal runs without any issue. But from Jenkins Environment is the problem. |
@sebastiendavid this is a problem in the |
Yes, if I set the HOME environment variable in Jenkins, it works. Thanks! |
No it's not, $HOME is an expected environment variable by most tools including I find it surprising that Jenkins doesn't set this for you. Sounds like a bug in Jenkins to me. |
After setting the HOME env variable, It worked for me as well. Thanks @sebastiendavid If any 1 else is facing the same issue , just use |
Can anyone open a ticket on Jenkins about this? |
@sindresorhus , Yup created an Issue on Jenkins |
How to set HOME environment in Jenkins on Windows? |
It is been a very long time. but when I check this issue there is no solution given for Jenkins on windows. In my case I have Jenkins and Jenkins Slave installed on Windows Servers. I get the same issue with bower install What I did to resolve, is the same solution that is given as resolution for #128. Only thing is I add this line before calling bower restore!. In my case I use, NPM, Gulp, bower integrated with .net MSBuild. So I added the above config command before calling MSbuild Rebuild. This may not be the right solution. I am just a beginner. advice if there is anything other good solution. |
The integration with Jenkins doesn't work : error code 128 !!
And the https hack doesn't work too ...
Any idea ?
Thx to you,
Tom
The text was updated successfully, but these errors were encountered: