How can I get Xcode to remember my Git credentials? - xcode

Does anyone know how to get Xcode to remember Git credentials for a Git repository that is not hosted on Github or Bitbucket or Gitlab? My company uses Beanstalk.

Related

how to prevent the Spring cloud config server from cloning remote repo if the local repo already exists?

I have a scenario where i wish the Spring cloud config server not the clone the git repo every time, if the repo already exists locally. i wish to clone only when there is a change in remote git repo. How do i configure the config-server in this case ?

Continuous Integration with Jenkins - clarifications

We are planning to implement continuous integration with Jenkins software, so we successfully installed Jenkins in our server (windows platform)
My question was
How can I manage (keep) my source code?
How can we configure if the source code located in some other machine / server / cloud
Our current process
Jenkins, source code is available in same machine, so we created a project in Jenkins and map the pom.xml (like D:\pom.xml) file under build section.
Choose a Version control tool, consider that SVN and GIT are quite different (Git--> Distributed system, SVN-> Centralized system) so read a bit about them before choose, then check for the availability of GIT/SVN plugin in Jenkins unless it already contained in your Jenkins installation.
Put the code under SVN/GIT, follow the standards, configure Jenkins in order to access to SVN/GIT server.
Check how to configure maven with Jenkins, it has a great integration with Maven.
Maven Jenkins:
https://www.tutorialspoint.com/jenkins/jenkins_maven_setup.htm
Jenkins Git:
Jenkins and Git sparse checkouts
The flow of the single build job is:
Checkout The code,
Specify the folder with the pom.xml file
Run the maven goal you need (e.g. mvn install)
You put your source code into Subversion or Git. Then you give your Jenkins access to the Subversion/Git and point it to the URL which you want to checkout.
Answer to first question : Host your code in a SVN or GIT repository. Git has higher market share than SVN because of large feature set and higher efficiency. SVN is simple and easy to use for new comers in the version control territory. Explore the options and host the corresponding server in your infrastructure.
Answer to second question : There are multiple plugins available in Jenkins to fetch code from remote repositories. For git , there is git client, gitlab and gitHub plugin . For SVN there is Polarion webClient for SVN plugin.

Setup artifactory so that it's used for both caching an upstream Hadoop/HBase project & also provide build artifacts to our CI?

I'm getting started with Artifactory and am getting confused by all the terminology. What I'm trying to accomplish is the following:
$ git clone https://github.com/apache/hbase.git
$ cd hbase
$ git checkout branch-1.2
$ mvn clean install -DskipTests assembly:single
I'd like the git clone of this upstream project to live in Artifactory along with the components that Maven is pulling down. Additionally the final product zip file that mvn builds, hbase-assembly/target/hbase-1.1.6-bin.tar.gz, I want to store that in Artifactory too so that we can use it downstream in several CI jobs.
Questions
Is this approach correct?
How do I accomplish this?
Artifactory provides you with the Remote Repository functionality which you can also use to proxy various VCS services although I fail to see the point in just storing a clone of a git repo in Artifactory -
The VCS remotes are mainly used for cases where you directly include source code that you don't need to influence in your own code (i.e you can't git push changes back into Artifactory - they will not be persisted in the upstream git repo).
If you're aiming to have your CI job clone a certain branch, run tests, build it and then deploy build artifacts back to artifactory, I would suggest configuring your job to clone the git repo (using git not Artifactory) and then deploying the build artifacts back to Artifactory for downstream jobs to use.
Artifactory provides very extensive integration with popular build servers through which you can achive what's discussed here, your build artifacts should go into a Maven repository and the downstream jobs should reference it with their own pom files - you can quickly setup any Maven client to work with Artifactory using the Set Me Up dialog.

How to access SVN repository on another computer using Windows Credentials from Jenkins

We are on a LAN. One of our computers has Jenkins installed. On another computer in the same LAN is our SVN repository. The repository is only accesible after we login to the server using username and password.
How can we setup our computer so Jenkins can login to the server and see when our SVN repository receives new commits etc?
Install Jenkins SVN plugin (Hpi file format) from jenkins site and after installing Jenkins svn plugin, you have to restart the Jenkins. You will find the check box for every successive changes or commit, it will start building the application.

Import local Subversion repository to bitbucket

I have a local Subversion repository on my MacOS and I want to upload an iOS project to bitbucket.
I'm trying to follow this tutorial but I can't find the Getting Started panel.
How can I do to upload my project to bitbucket?
You can not upload Subversion repository to BitBucket anyway - it has only Git and Mercurial support

Resources