scm

SCM Sync configuration plugin doesn't commit/push

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have installed SCM Sync configuration plugin(0.0.10) to save my jenkins settings in my git repository. I have set the git url repository but the plugin does not commit/push, see the screenshot I tried: The private key is in ~/.ssh/id_rsa with the chmod 600 The root user is own of the id_rsa and the .ssh directory The .ssh directory has the permission 700 I did the same for jenkins OS user I can clone the repository(from the console) using the ssh private key, so this means that everything is working The screenshot of the plugin's status

Checkout Maven project from SCM - no connectors

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a problem with checkout Maven project in Eclipse Indigo. I've installed m2e plugin, Subclipse, Git, but can't select appropriate SCM type ? How to solve this ? 回答1: Affan was correct. The connectors are all still there in Indigo, just hidden a little. Start Eclipse and open preferences. Find the Maven group and expand it. Select the "Discovery" item and click "Open Catalog". A dialog will pop up with all the goodies. The connectors are at the bottom. 回答2: I ran into this issue with Eclipse where when you would try to Import a project

${project.artifactId} in parent pom.xml resolves odd

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a bulk full of projects which have the same URLs in their pom.xml: <url>https://github.com/malkusch/${project.artifactId}</url> <scm> <connection>scm:git:git://github.com/malkusch/${project.artifactId}.git</connection> <developerConnection>scm:git:git@github.com:malkusch/${project.artifactId}.git</developerConnection> <url>https://github.com/malkusch/${project.artifactId}</url> </scm> <issueManagement> <system>github</system> <url>https://github.com/malkusch/${project.artifactId}/issues</url> </issueManagement> So I thought it's a

Configuring Perforce scm into maven project to get latest changelist

匿名 (未验证) 提交于 2019-12-03 03:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am migrating a project to Maven and as we were used to always reference our builds by the latest change number in our Perforce SCM repository, I would like to be able to extract this information I am trying to configure Maven scm plugin via following resources: http://maven.apache.org/scm/maven-scm-plugin/usage.html for generic usage http://www.perforce.com/perforce/doc.current/manuals/p4maven/index.html First I don't understand how to make it work, so if anybody has a fully working example, I will be happy to, on my side I have tried by

Using maven-release-plugin with GitHub “You can&#039;t push to git://github.com/…”

匿名 (未验证) 提交于 2019-12-03 03:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Recently having switched source code repository for a project to GitHub from SourceForge I need to update the maven release process to match. I followed this link for configuring the "scm" section of the pom. The GitHub repository is shown here . Everything else is as it was when using SVN (for publishing to https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-4.MavenRepositories ). So then I invoke mvn clean release:clean release:prepare release:perform and the output is

Checkout Jenkins Pipeline Git SCM with credentials?

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I was following this tutorial : node { git url: 'https://github.com/joe_user/simple-maven-project-with-tests.git' ... } However it doesn't tell how to add credentials. Jenkins does have specific "Credentials" section where you define user user&pass, and then get ID for that to use in jobs, but how do I use that in Pipeline instructions? I tried with: git([url: 'git@bitbucket.org:company/repo.git', branch: 'master', credentialsId: '12345-1234-4696-af25-123455']) no luck: stderr: Host key verification failed. fatal: Could not read from remote

Accurev SCM [closed]

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Does anyone use Accurev for Source Control Management? We are switching (eventually) from StarTeam to Accurev. My initial impression is that the GUI tool is severely lacking, however the underlying engine, and the branches as streams concept is incredible. The biggest difficulty we are facing is assessing our own DIY tools that interfaced with starteam, and either replacing them with DIY new tools, or finding and purchasing appropriate replacements. Additionally, is anyone using the AccuWork component for Issue management? Starteam had a

ClearCase SCM Adapter support for annotate

匿名 (未验证) 提交于 2019-12-03 02:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I wanted to annotate some code with version history. This is easy in Eclipse when using SVN, but the Rational ClearCase SCM Adapter plugin doesn't appear to support it. I quick Google search reveals that on the command line ClearCase supports annotate via: cleartool annotate -out - -fmt "%Vn |" -rm -nheader util.c I also found a number of non-free plugins that support annotate. Any free alternatives? 回答1: The cleartool annotate is the only form of annotation (or "blame") for ClearCase, and isn't available through the official plugins

Getting filename, location and author of changed files using RTC source control

匿名 (未验证) 提交于 2019-12-03 02:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to access the filename, location and author of changed files for a given stream. Below code is what I have so far. Looking at the api documentation this does not seem possible? Can this be achieved using the java api or some other method ? IChangeSetSearchCriteria c = IChangeSetSearchCriteria.FACTORY.newInstance(); WorkspaceManager mgr = (WorkspaceManager) SCMPlatform.getWorkspaceManager(repo); IWorkspaceSearchCriteria criteria = IWorkspaceSearchCriteria.FACTORY.newInstance(); criteria.setKind(IWorkspaceSearchCriteria.STREAMS);

How do I get the SCM URL inside a Jenkins Pipeline or Multibranch Pipeline?

匿名 (未验证) 提交于 2019-12-03 02:14:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to get a prebuild merge to work inside a multibranch pipeline and I would like to avoid having to hardcode the git url in my pipeline script. It seems like scm step must store the url somehow, but I cannot figure out how to access it. 回答1: You are correct, the scm object does have the information you need. When using git as the source control in a Pipeline project (or Multibranch Pipeline project), the scm global variable will be an instance of GitSCM . That means that `scm.getUserRemoteConfigs()' will return a list of