Is there a better way to solve this jenkins problem - jenkins-pipeline

tried doing contnuous deployment and had the following error message after giving write permisions to tomcat directory

Related

Trouble getting started with AWS Lambda locally

I'm trying to get a simple dotnet lambda up and running using the Rider AWS toolkit - starting with the SAM HelloWorld sample project, but in creating, I run into this error
java.util.concurrent.CompletionException: java.lang.RuntimeException: Could not execute `sam init`!: [Cloning from https://github.com/aws/aws-sam-cli-app-templates, Error: Unstable state when updating repo. Check that you have permissions to create/delete files in C:\Users\user_name\AppData\Roaming\AWS SAM directory or file an issue at https://github.com/aws/aws-sam-cli/issues]
I checked the permissions on that directory, and I should have full read/write. I'm not seeing anyone else running into this particular problem online. Is this indicative of any other steps I missed along the way?
The root cause is apparently a long filename issue. There is a workaround here: https://github.com/aws/aws-sam-cli/issues/3781#issuecomment-1081263942
What I did was:
Using regedit set HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled" to 1
With admin permissions, run git config --system core.longpaths true

-su: /home/sonar-runner-2.4/bin/sonar-runner.bat: Permission denied

I started working with sonarqube and getting stuck to get the code analyzed. Trying to add the properties of sonar in the source code file. By giving the following command
sonar-runner.bat
I am getting the error
-su: /home/sonar-runner-2.4/bin/sonar-runner.bat: Permission denied
Any help at the earliest is appreciated.
According to the error message and the name of your path, you seems to be using sonar-runner on Linux OS. In this case, you need to use sonar-runner without the bat extension.
Please note that you should use Sonar Scanner (https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) which is the successor or Sonar Runner.

Build Failed from Dev to Staging using TFS Release management

I am trying to build a project from dev to staging environment, what all i did was just to merge the changes in dev to staging and trigger a build. but the build got failed even tried multiple times.
Below is the log file shared in google drive. there are no errors mentioned in the log file. Can anyone help me solve this problem.
https://drive.google.com/open?id=0B85ZmWDiKYHRVmN4MlMxc0ZEd28
I found a error in the log file in the release management, which says that "access denied for appsettings.config" file. I did remove the read only on the folder in the server and it worked. I am not sure of this fix properly, but it did work for me.
Thanks.

openshift DIY, 503 error after deleting and adding again testrubyserver.ruby file

I am trying openshift DIY cartridge. I use a windows system to manage the server from command line. I managed to run a simple html5 website. I have deleted the testrubyserver.ruby file from the webpage folder for test purposed and then added it again to my webfolder. Now i have 503 error. No restart, no stop, no start helps. I am stuck in 503. Does anyone know what to do? How can I make the testrubyserver.ruby run again?
Solved my problem. I checked the log file in the folder: app-root / logs. There I found out that
nohup: failed to run command `/..//testrubyserver.rb': Permission denied
I change in filezilla the permissions for the file from rw to rwx to execute it. Restarted the server and then it worked.
I do not know if this is the right approach. At least it makes my app running again.

Jenkins - Read Only Access

I have installed Jenkins at C:\Jenkins but cannot disable 'Read-only' access to the folder.
This means I cannot create MSTest results files when running tests as Access is denied.
Any ideas to fix?
Problem solved.
My path to MSTest was incorrect. A poorly worded error message in my opinion!

Resources