Questions tagged [post-build]

Questions relating directly to activities and actions that take place following the successful build of any software.

In software, a build is the process of constructing software such that an output is produced.

The build is logically split into stages, with post-build occurring after the main build has completed, typically on completion of a successful build.

At the post-build state, many build tools offer the ability to carry out additional scripted actions to allow further functionality to be executed on the built software.

131 questions
0
votes
0 answers

Copy-command fails on second time - but not on first

I've created a Post-Build-Event in VS2010 for a project that copies the output *.dll file to another place, on the first build-attempt it builds without errors, but when I then try again, it fails with Error-Code 1 -> could not load file, because…
0
votes
1 answer

How to allow user to install only if a given registry key doesn't have a certain value?

One of the conditions for running my installer is that a value in the registry should be different from "1", otherwise it would display an error message and quit. This can't be done through custom actions since even the OnBeforeInstall event happens…
0
votes
1 answer

Jenkins: conditionally start a project

Jenkins builds the setup projects of our software suite. Afterwards, it starts a virtual machine with XP, installs our software, performs some tests, and shuts the VM down. Next, the same installation and test procedure shall be done on Win7, then…
Bernhard Hiller
  • 2,163
  • 2
  • 18
  • 33
0
votes
1 answer

Jenkins "Post Build Action" to deploy zip on Maven repository

I Have recently started using Jenkins and currently using version 1.492. I have a Maven module project which produces a Jar and a Zip files which I want to deploy to a Nexus Maven repository. When I build my project locally I get the message :…
Gwen
  • 11
  • 1
  • 2
0
votes
2 answers

How to exclude Post Build Jobs using MSBuild & Cruise Control

We have a Library Project that we use for all our central reused code called "CentralLibs.dll" This library gets GAC'd on all our servers during deployment so to make things handier for the DEVs when they're working locally, theres a post-build…
Eoin Campbell
  • 43,500
  • 17
  • 101
  • 157
0
votes
0 answers

Create and Copy files in post-build event

I have several build configurations and depending on the configuration chosen, I need to copy the dll to a created folder. Basically, my executable is located on c:\project and my dll is in c:\library. I need to setup a post-buildevent on the dll…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
0
votes
1 answer

jenkins groovy script check if build is tagged

In groovy how to check if a particular build is tagged? I'm using this information to mark the build "Keep forever". I'm using this script to get builds of a particular job: item=hudson.model.Hudson.instance.getItem("Build") //build =…
Arjun Ramesh
  • 189
  • 1
  • 12
0
votes
1 answer

Execute post build event in VS only when key is pressed

I have a post build app that takes a long time to execute. So I need to execute it only when I really need it. Is there a way to execute such an app only when I've pressed a key (eg. SHIFT) and built the project at the same time?
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
-1
votes
1 answer

MSBUILD error MSB3073 Exited with code 100

I am using msbuild to build setup and in there when following line of code hit there will be an error
Prageeth Liyanage
  • 1,612
  • 2
  • 19
  • 41
-1
votes
1 answer

send error string from python script to jenkins job on failure

i have a python script which is called from jenkins job shell script. This python script could fail for multiple reasons. Based on the failure i need to catch the correct failure reason. I want this reason to be sent back to jenkins shell some how…
RK3
  • 1,221
  • 9
  • 26
  • 37
-1
votes
1 answer

Compile application twice with different manifest files

Is there a way to compile a WPF application twice in Visual Studio (version 2015/2017) with different manifest files? On the one hand I need the application to require administrator permissions, on the other hand the same application without…
tg24
  • 161
  • 3
  • 22
1 2 3
8
9