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
2
votes
1 answer

Dynamic configuration of MSAL 2 in Angular

For my Angular (v12) application, I use MSAL for Authentication and I'm facing an issue on configuration. In configuration, I have tenantId and app Id to initialize MSAL. I cannot use the standard Angular configuration switching with environment.ts…
nimbusparis
  • 391
  • 5
  • 16
2
votes
2 answers

Jenkins - How to access Build number variable and use it as a Prefix/Suffix of a log name during Post build actions

I am trying to use Jenkins' Build Number in the naming of a Log that I would want to be saved as a post build action Will the below format work C:\Jenkins\workspace\Jmeter_Jenkins_Test_Job\Jenkins_Results\"${env.BUILD_NUMBER}"results.jtl
ganvartin
  • 35
  • 2
  • 9
2
votes
1 answer

How do I Run Nunit Tests As a Post-Build Task in Visual Studio?

I have a solution in Visual Studio with a bunch of projects under it. A number of these projects are test projects, containing only nunit tests and code relating to tests. For these projects, I want to set up a post-build event that runs the tests…
Colm Bhandal
  • 3,343
  • 2
  • 18
  • 29
2
votes
0 answers

Text replacement in a file fails if a line contains '='

I am trying to replace a string in a file through a batch file in post-build action of visual studio. The first string is lMkUk= and the second string (replacement string) is ##DummyValues##. While replacing the first string with the second string…
2
votes
0 answers

Is it normal that two different versions of perl produce different results?

I am trying to perform some stack analysis on an MCU following the steps described here. The site links then to a Perl script that I launch as a post-build operation by meanings of a simple batch file. The IDEA based on Eclipse uses the Perl…
Catosh
  • 163
  • 1
  • 2
  • 14
2
votes
1 answer

Jenkins: how to invoke a post build action multiple times inside the same job?

I am using this plugin: https://developer.ibm.com/urbancode/docs/integrating-jenkins-ibm-urbancode-deploy/ Is there a way to push to multiple components in UCD from inside one Jenkins job? e.g. The same Jenkins project compiles Java and produce…
Jirong Hu
  • 2,315
  • 8
  • 40
  • 63
2
votes
2 answers

Jenkins: How to execute powershell script after successful build

I want to execute a powershell script (PS) upon successful build in Jenkins. This PS script basically deploys the application to web server. I see there are two plugins available Hudson Post Build Task and PostBuildScript Plugin to run post…
LP13
  • 30,567
  • 53
  • 217
  • 400
2
votes
1 answer

For my class Library project in visual Studio 2013 ; Using post build event how do I copy the created dll to another path?

I have searched the net which has quite a few similar answers but they seem to differ with VS version. Each was differing so I though that I should ask you guys So here is some detail. i need to copy the dll at "C:\MyProjects\Visual…
user4740550
2
votes
1 answer

Post build event using parameters from web.config

I have a VS2013 C# MVC project where I need to run a post build process that takes 2 parameters where the values already exist within the web.config. Within the post-build event command line I would like something like this: MyBatchFile.bat…
RichieMN
  • 905
  • 1
  • 12
  • 33
2
votes
1 answer

How can I copy the NuGet package native library files?

I have the NuGet package which managed library depends on a native library. I want to copy native dependency to the \\UnmanagedLibraries\Windows\x86\ folder and I have made the following file which is copied to the build folder:
dajuric
  • 2,373
  • 2
  • 20
  • 43
2
votes
0 answers

Postbuild plugin not running. "Build is worse than unstable"

I've set up some post build steps to update my github repository with the status of the build. However I'm getting some unfortunate errors from the post build plugin. It says: Match found for :FAILURES! : True Logical operation result is…
Michael Gall
  • 215
  • 1
  • 3
  • 7
1
vote
1 answer

How To Run A Script As Jenkins Pipeline Post-Build Stage

Is it possible to execute a shell script as a post-build step of a pipeline job using job DSL? post { success { sh """ echo "Pipeline Works" """ } failure { shell(''' …
Hammed
  • 1,457
  • 1
  • 24
  • 37
1
vote
0 answers

How to find static path in create react app?

I (using windows) have implemented the code given here. For which when I do npm run winBuild where winBuild is "winBuild": "set \"GENERATE_SOURCEMAP=false\" && react-scripts build" I get the below image in my console and The post build I have is…
era s'q
  • 537
  • 1
  • 7
  • 27
1
vote
2 answers

Windows batch file to deploy all the dlls in a folder to GAC

I'm working on an ASP.NET project where I've a bunch of dlls created in a folder. I need to write a cmd or bat file to take all the dlls in that folder and GACUTIL it. So how can loop all the dlls in a folder?
NLV
  • 21,141
  • 40
  • 118
  • 183
1
vote
0 answers

Pipeline post build fails with error java.io.NotSerializableException: hudson.tasks.junit.TestResultAction

I am completely new to groovy scripting. I am trying to post the test execution results by reading from json file and post it into TM4J. I have added the plugin of Test Management For Jira in my jenkins. In the post build actions we are adding Pas,…
curiousToKnow
  • 79
  • 1
  • 2
  • 12
1 2
3
8 9