buildserver | Tools for managing the Mixxx build server and build VMs | Build Tool library
kandi X-RAY | buildserver Summary
kandi X-RAY | buildserver Summary
This repository contains instructions and script files for producing a Mixxx build server.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of buildserver
buildserver Key Features
buildserver Examples and Code Snippets
Community Discussions
Trending Discussions on buildserver
QUESTION
I've got a .NET 5 solution that builds fine on multiple machines, but on the TeamCity build server it does not.
...ANSWER
Answered 2021-Jun-02 at 14:42https://www.nuget.org/packages/FluentValidation.AspNetCore/10.2.2
The problem caused by your CI server, not by dotnet
or .NET SDK .
QUESTION
I'm trying to reach each build in my local TFS 2015 server which has the "Retain Indefinitely" flag (BuildDetail.KeepForever
Property) yet the QueryBuilds()
function takes too long to get all of the builds.
TFS 2015 'Retain Indefinitely' Web GUI Menu Option
All I actually need is the KeepForever
and the DropLocation
properties.
I Found out you can get better efficiency using the IBuildDetailSpec
interface yet I couldn't find an option in which I'll get the KeepForever
property.
My current code snippet:
...ANSWER
Answered 2021-Jan-05 at 15:50You can tell QueryBuilds
to not grab all the build details, but only the ones you're interested in, from my patched version of tfsbuild.exe
:
QUESTION
I have a couple of webapps I am adding gitversion to. Main problem - GitVersion is generating a MajorMinorPatchTag where the Major is in the format yyyymmdd. Aside from this not being a valid major version, I want the usual versioning 0.1.3.alpha.1 in the example below but I am getting 20201021.1.1.
I have removed all the old build tags from the repo so it does not appear to be finding this from tags. Is there anywhere else I can force it to ignore previous build versions and use the semver starting from the gitversion.yml/next-version setting?
Detail below:
The gitversion.yml is simple:
...ANSWER
Answered 2020-Oct-21 at 22:42GitTools.UseGitVersion is deprected thus I recommend you switch to GitTools bundle and then you can use it like this:
QUESTION
Our buildserver needs to release apps to App Center. App Center allows me to provide a release note file.
The problem is, our ReleaseNotes.md
contains ALL the versions and become to big to for App Center to accept it.
The notes are formatted like this:
...ANSWER
Answered 2020-Oct-19 at 15:28Using awk
in "paragraph mode" by setting RS to the empty string and then saving it to another file:
QUESTION
In our dev environment we have lots of repos, lots of builds and lots of buildservers, and most of the time things work just like they should - however, we are seeing an increase in builds that fail because of timeouts.
These timeouts are not happening because we are getting close to the limit, but because something "gets stuck/blocked" in the pipeline and it stays on that step until timeout kills the build.
To better debug why that happens, we need to be able to query what builds fails because of this timeout, so we for instance can see, if it is a particular build server or agent that has this problem.
We can not find anything in the API that would give us the timeout error, but we can see that the UI is able to deduct it somehow:
So far we have narrowed it down to query all builds with completed status (through this API), but we get no completion reason, and buildtimes are never exact the same as the timeout of the build defintion, so "guessing" it from the execution plan will also be a bit shaky.
How can we filter our builds down to only the builds that have timed out?
...ANSWER
Answered 2020-Aug-28 at 12:48We can use the below API to get details for a build.
Note: do not add timelineId, we should list all info
QUESTION
We use a “Visual Studio Offline Layout” to deploy VS 16.6 to both developers and buildservers with mixed internet connections (offline / proxy / direct). Up until lately, the installation/update from previous VS instances (16.3 to be exact) worked quite well.
Currently, we cannot use the offline layout to install the local cached version of Visual Studio any more, because computers connected to the internet want to update “Visual Studio Installer” prior to installing anything.
The call to vs_Professional.exe update --wait --norestart --noweb --noUpdateInstaller ...
fails with exit code '1' pretty quick after it was invoked.
Looking at the dd_
logs in TEMP, we find:
ANSWER
Answered 2020-Jun-15 at 02:58The call to vs_Professional.exe update --wait --norestart --noweb --noUpdateInstaller ... fails with exit code '1' pretty quick after it was invoked.
Actually, every time you update vs, you must first update the vs_installer program. And as you described, you use vs_Professional.exe update --wait --norestart --noweb --noUpdateInstaller
, it means that you are updating the vs_installer program. Hint from here.
Is there a way to actually force --noUpdateInstaller, can the Visual Installer also be updated offline prior to updating Visual Studio?
And --noUpdateInstaller
means that it will prevent updating vs_installer.exe. If you execute update, it will return a non-zero exit code. So you cannot use --noUpdateInstaller
with update.
1) If you want to install the old VS offline package on your agent, you should use this command to install it:(disconnect the Internet)
QUESTION
I have a number of gradle projects with a multi-project build stucture.
I use gradle build cache on our buildserver to only run tests in projects with changes or projects which dependsOn projects with changes. This works great and saves a lot of build time.
The problem is: Gradle projectA depends on a non gradle projectB, and I don't know how to set this dependency. projectB produces a docker used by projectA, and if an error is introduced in projectB, the tests in projectA doesn't run and the error goes into production.
So the question is how do you make a gradle "dependsOn" for any change in a non gradle project.
...ANSWER
Answered 2020-May-13 at 01:27The best way is probably to use task inputs. However, inputs can currently only be directories, files and properties. This means you will have to find a way to put give the information on the Docker image to Gradle using one of those types.
For example, maybe you can make the project that builds the Docker image also output a file containing a version number or a hash. Then declare it as an input:
QUESTION
Sometime in the past 2-3 hours, my builds have started failing on this step:
...ANSWER
Answered 2020-May-05 at 08:48For Microsoft-hosted agents:
You could directly use the “GitVersion.exe /output buildserver /nofetch”
In this way, you can avoid entering the wrong path.
use gitversion
For Self-hosted agents:
You could run the “WHERE /R c:\ gitversion.exe”
script in “command line task” to get the specific path.
And then you can modify your script according to the obtained path.
For example:
find gitversion
By the way, if you couldn’t find file, please check the version of the GitVersion.
According to the Release Note: “Chocolatey: executable missing in GitVersion.Portable 5.3.0” ,this could cause the “Gitversion.exe” missing. You could upgrade the GitVersion to 5.3.1.
QUESTION
My setup is: I have a solution that had different dotnet4.6 applications (services) in it. Now we added a dotnet core project inside this solution. I can build and debug it, but this doesn't create an executable. In Visual Studio I can rightclick -> Publish... it. I created two profiles (x86 and x64) that should create nice binaries in /bin/Publish/x86 or /x64. In VS this works. The application is self-contained and works on different unprepared machines.
But now I Need to move that process to the buildserver. I messed around with dotnet publish
but in the end i get stuck because other components of the solution are not clean dotnet core and so the build fails.
So I need to stick with MSBuild.
The current attempt is:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" NewProject\NewProject.csproj /p:DeployOnBuild=true /p:UsePublishProfile=true /p:PublishProfile=x64Profile
.
This says it finished building successfully, but I don't see any results. Also it doesn't make any difference, if I remove all properties and just call msbuild and *.csproj. It just builds the new project in bin/Debug, as dll, not exe.
I also messed around with p:PublishProfile="NewProject\Properties\PublishProfiles\x64Profile.pubxml"
and /p:PublishUrl="NewProject\bin\Publish\x64"
but it doesn't change anything.
I read a few articles on SO, telling that VS doesn't just call msbuild with parameters but does internal API calls. Still, I need a solution. I need the build server to create an executable. Is there a way to trigger msbuild to create thath?
...ANSWER
Answered 2019-Mar-11 at 13:11Oh man, I searched for 2-3 days now. And - as always on StackOverflow - shortly after asking I found a working answer myself.
tl;dr:
Project.csproj:
QUESTION
Hi I have a superproject that contains a submodule. The submodule is tracked by a branch name and not by a sha commit number. On our buildserver I would like to pull as minimum as possible. So I tried
...ANSWER
Answered 2020-Apr-29 at 00:38I think you have hit a bug in Git. To work around it, use --no-single-branch
or configure the branch manually.
Other things to know:
If you have recursive submodules, make sure your Git is recent and use
--recommend-shallow
to enable shallow submodules recursively, or--no-recommend-shallow
to disable them.You may need to do this in two steps. I'll show this as a two-step sequence below. I know this code has evolved a lot between Git 1.7 and current (2.26 or so) Git, and I expect the two-step sequence will work for most older versions too.
The two steps are:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install buildserver
To setup the master environment, see [README.Master.md](README.Master.md).
To setup an Ubuntu builder, see [README.Ubuntu.worker.md](README.Ubuntu.worker.md).
To setup an OS X builder, see [README.macOS.worker.md](README.macOS.worker.md).
To setup a Windows builder, see the [2.3.x-windows branch](https://github.com/mixxxdj/buildserver/tree/2.3.x-windows/).
If you’re looking to build Mixxx on your own computer, you don’t need this repository. You can follow instructions on our wiki for each platform:.
[Compiling on Linux](https://github.com/mixxxdj/mixxx/wiki/compiling-on-linux)
[Compiling on Mac OS X](https://github.com/mixxxdj/mixxx/wiki/Compiling-on-macOS)
[Compiling on Windows](https://github.com/mixxxdj/mixxx/wiki/compiling-on-windows)
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page