Jenkins returned status code 128 with github

This error: stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly indicates that Jenkins is trying to connect to github with the wrong ssh key. You should: Determine the user that jenkins runs as, eg. ‘build’ or ‘jenkins’ Login on the jenkins host that is trying to do the clone – that is, … Read more

The OutputPath property is not set for project

I have figured out how it works (without changing sln/csproj properties in VS2013/2015). if you want to build .sln file: /p:ConfigurationPlatforms=Release /p:Platform=”Any CPU” if you want to build .csproj file: /p:Configuration=Release /p:Platform=AnyCPU notice the “Any CPU” vs AnyCPU check the code analysis, fxcop, test coverage(NCover) targets, as well as the MSBUILD should be located properly. … Read more

How to reset build number in jenkins?

Can be easier done from groovy script console . Go to http://your-jenkins-server/script In script window enter: item = Jenkins.instance.getItemByFullName(“your-job-name-here”) //THIS WILL REMOVE ALL BUILD HISTORY item.builds.each() { build -> build.delete() } item.updateNextBuildNumber(1)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)