repository-permissions-updater | Artifactory permissions synchronization tool and data set | Automation library
kandi X-RAY | repository-permissions-updater Summary
kandi X-RAY | repository-permissions-updater Summary
The Jenkins project hosts Maven artifacts such as core and plugin releases on [Artifactory] Its permissions system is independent of GitHub’s, and we limit which users (identified by the Jenkins LDAP account, same as wiki and JIRA) are allowed to upload which artifacts. This repository contains both the definitions for Artifactory upload permissions in [YAML format] as well as the tool that synchronizes them to Artifactory. Note: These permissions are specifically for uploading artifacts to the Jenkins project’s Maven repository. It is independent of GitHub repository permissions. You may have one without the other. Typically, you’ll either have both, or just the GitHub repository access.
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 repository-permissions-updater
repository-permissions-updater Key Features
repository-permissions-updater Examples and Code Snippets
Community Discussions
Trending Discussions on repository-permissions-updater
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 repository-permissions-updater
You can use repository-permissions-updater like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the repository-permissions-updater component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
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