I have a non-Java project for which I want to automate the build through jenkins.
I have create a job with free Style type. Then I have checked out the SVN repository to my local machine. For testing purposes, I want to first build the project locally.
I have Repository URL : file:///C:/MyProject/.
I get an error: Unable to access file:///C:/MyProject : svn: E180001: Unable to open an ra_local session to URL.
Also I tried with credentials, but am still getting same error.
Note: credentials I have given are the ones which I use to login to my local machine.
Please assists.
Related
I'm attempting to build my iOS app on bitrise.io. This app uses an SPM package which is hosted in a private github repo. The repo is not able to be made public.
Locally the builds work, they also work locally with fastlane and the bitrise cli. When I run them on the remote pipeline, I get the following error:
xcodebuild: error: Could not resolve package dependencies:
Failed to clone repository https://github.com/USERNAME_REDACTED/REPO_NAME_REDACTED:
Cloning into bare repository '/Users/vagrant/Library/Developer/Xcode/DerivedData/ORG_NAME_REDACTED/SourcePackages/repositories/REPO_NAME_REDACTED-d35b1ef7'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
My understanding as to why this does not work, is because the Xcode instance on the remote pipeline machine, does not have a GitHub account added. I am able to do this using the Xcode GUI locally by going to Xcode > Preferences > Accounts as you can see below
The problem here is that I need to figure out a way to do this via script for the remote by providing a username and personal access token. Thus far I've spent about 20 hours looking through xcodebuild docs and messing around with different configs however I've not had any luck getting this to work.
Any help is appreciated.
Changing the Xcode project to use ssh to import the module worked for this. I had to also change the remote CI machine to use the system keychain in order to fetch the SSH key.
I know this is common question but none of the solution working for me.
I've a swift package hosted on private repo in azure devops. In pipeline, i've setup task Install SHH key following document with passphrase and locally swift package resolve, authentication success. But in pipeline it fails with message "SSH fingerprint fail to verify".
I searched a-lot and there are few links below sharing, solution i've tried so far
Adding identity to known_host, manually calling swift package resolve.
https://developercommunity.visualstudio.com/content/problem/1025313/swift-package-manager-the-server-ssh-fingerprint-f.html
https://discuss.bitrise.io/t/xcode-11-resolving-packages-fails-with-ssh-fingerprint/10388
https://bonkowski.net/posts/ios-azure-pipeline/
I'm not sure, is there any way to get detail logs?
Resolved, it was because of dev.azure.com it should be ssh.dev.azure.com, while adding host entry to known_hosts.
I am new to TFS and i am trying to copy artifacts from my TFS server to a windows server using Windows Machine File Copy Task. But i am getting the following error.
"ERROR 5 Getting File System Type of Destination, Access denied". It is using Robocopy for achieving this.
I can remotely connect to the server and i have admin access. What am i missing here? Please help.
I can remotely connect to the server and i have admin access. What am
i missing here?
Azure DevOps/TFS is using build service account to run your build pipeline. The key point here is the build service just the same as account "I".
If not, you need to give same permission as "I" to that account.
Another way is changing your build service account to "I". This account is configured when you install build agent.
How to change it, you could refer my reply in this question: azure devops local agent pipeline permission denied
Hope it helps.
I am writing instructions on how to set up Travis CI to deploy to our local Nexus 3 maven repository. I am testing my own instructions to make sure everything works. I have discovered that I cannot upload any artifacts using maven unless I use administrator credentials. As a regular user, I can upload using the provided web UI, but not maven.
All the users have full admin rights over the hosted repositories as well as the nx-component-upload privilege which enables the UI upload.
I must be missing something. The error message I get when running maven deploy is:
org.apache.maven.shared.transfer.artifact.deploy.ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact nz.org.riskscape:rsum_api:jar:1.0 from/to juglab-release (https://dais-maven/repository/juglab-release/): Failed to transfer file https://dais-maven/repository/juglab-release/nz/org/riskscape/rsum_api/1.0/rsum_api-1.0.jar with status code 401
Thanx in advance for any help
I finally got it to work. The problem was in the settings file, the username had been misstyped.
I was abled to build with jenkins on a Build Server and was able to get the publish files on local.
However, I am unable to deploy these to a diferrent application server when I specify the path '\192.168.1.51\MyPublishedFiles' in the publish profile.
This is probably because the app server uses login credentials.
I have the login credentials but cannot find a plugin which can help me copy the files to another server.
What strategy / Plugin can I use do to the same ?