jenkins-infra | Jenkins main control repo for R10k and our Puppet | Infrastructure Automation library
kandi X-RAY | jenkins-infra Summary
kandi X-RAY | jenkins-infra Summary
This repository is the r10k control repository for the Jenkins project's own infrastructure.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jenkins-infra
jenkins-infra Key Features
jenkins-infra Examples and Code Snippets
Community Discussions
Trending Discussions on jenkins-infra
QUESTION
I want to publish my display-console-output-plugin.
But I got an error message saying ssh: Could not resolve hostname lyenliang: Name or service not known
when executing mvn release:prepare release:perform -Dusername=lyenliang -Dpassword=myPassword
, where lyenliang
is my github account.
You can find more information about the above command here.
This error message comes from cmd.exe /X /C "git push lyenliang:********@github.com:jenkinsci/display-console-output-plugin.git refs/heads/master:refs/heads/master"
.
I don't understand why I still get this error I have successfully requested upload permission.
Why does it say that my github account is not a valid name?
You can visit here for more error messages.
Here's the settings.xml I have:
...ANSWER
Answered 2017-Apr-29 at 07:34I solved this problem by putting my github username and password into settings.xml
(See here for how to put them into this file), then executing mvn release:prepare release:perform
.
The git push
command inside this method then becomes cmd.exe /X /C "git push git@github.com:jenkinsci/display-console-output-plugin.git refs/heads/master:refs/heads/master"
. It executed with no errors.
However, I still don't know why putting my github account and password in the command line doesn't work. I use the same account and password for both github and jenkins-ci.org.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jenkins-infra
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page