build-process

How to configure a jenkins job to send mail if a SCM commit

烂漫一生 提交于 2019-12-11 11:56:26
问题 I have problems with configuring a jenkins job that need to do the following task : scheduled every 30 minutes => OK do an update (CVS, SVN, ...) => OK send an email if a change is detected in the SCM repo => KO So my job is configured as follow : Source Code Management : cvs root / branch / ... Build Triggers : Poll SCM : */30 * * * * Build : No buils step Post-build Actions : E-mail Notification But I received emails only when the build failed and not when an update is detected. Any hint ?

How to add build steps to Eclipse “run configuration”?

微笑、不失礼 提交于 2019-12-11 10:09:12
问题 Is there a way to add build steps to a "run configuration" in Eclipse? My project uses an applet that should be built before starting the web application. So I'd like to configure Eclipse to do this single step before actually running the application. I know I can do it with Ant/Maven, but I wonder if there's a way to do it in Eclipse. Thanks 回答1: For a classic launching (Java or Java Applet) configuration, no. Not directly. For an External Tols launcher, not directly either. The idea would

Ant build consoles get clobbered by dependent projects in Eclipse

折月煮酒 提交于 2019-12-11 07:47:39
问题 I have a set of dependent projects in Eclipse, each with its own Ant build script. If I make a change in multiple projects, then select "Build All" (Ctrl+B), each Ant build is invoked in the correct order. But if there is an error in one project, Eclipse still tries to build the other projects also, and in the process clobbers the Ant console so that the build errors are no longer visible. This wouldn't be quite so annoying if I could open up the offending project and select "Build Project",

Programming for a 32-bit environment vs programming for a 64-bit environment / Build configurations

亡梦爱人 提交于 2019-12-11 07:35:01
问题 I was looking at some same code (a sample MS Visual Studio C++ project) recently with multiple build configurations (Release/Debug, Win32/x64). My question: What is the difference? I guess I understand Release/Debug (Release = finalized version of project, Debug = version used to run in debugger), but what things need to be considered when building different versions for Win32/x64 platforms? Is there any coding differences, or does this just affect how that same code is ultimately built into

Programmatically Add Site Template (.stp) to SharePoint

岁酱吖の 提交于 2019-12-11 06:05:50
问题 I would like to programmatically add a custom site template (.stp file) to a MOSS team site collection as part of my build process. Can anyone point me towards the best way to do this? Thanks, MagicAndi. 回答1: A way of doing this with a feature would be to use the File element. STP files live in /_catalogs/wt so this type of feature will upload the file. Update: More details in Create Feature to Upload Site Template File (.stp) in MOSS but for completeness here is the elements.xml: <Elements

I keep getting an arc error when building

◇◆丶佛笑我妖孽 提交于 2019-12-11 05:53:52
问题 EDIT My problem was that I didn't link a class to my project. I am working on an app that is basically a terminal app. When I try to build it I'm getting a build error. Ld /Users/evanstoddard/Library/Developer/Xcode/DerivedData/Highjack-anstcjvykrnniwbltvijvyvexirq/Build/Products/Debug-iphonesimulator/Highjack.app/Highjack normal i386 cd /Users/evanstoddard/Desktop/Highjack setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator

Complete Deploy vs Out of Cycle Deploy

穿精又带淫゛_ 提交于 2019-12-11 05:47:50
问题 I'm not sure If any of you have encountered this scenario.We have small small projects or fixes that we need to push to LIVE every other day. There is one set of team that says "do a clean build and deploy on prod server". The other set says we don't have to do a full deploy we will just do a dll drop or aspx drop. They have listed out few pros and cons for each method. But want to know what method you generally follow any major set backs for each method. 回答1: I would first of all try to

IBM DevOps Pipeline: How to Access Artifacts from Previous Job?

不打扰是莪最后的温柔 提交于 2019-12-11 03:15:21
问题 I have a build stage as shown below with two build jobs, a frontend and a backend job. How do I directly access the Build Archive Directory of the frontend job from the backend job's build script? I need to access the frontend build artifacts in order to properly build the final archive. And I can see all the artifacts show up in the Artifacts tab for the frontend build. But how do I access that from the second job, i.e. backend build? I saw here that there is an Environment variable to

Give a warning when a dependency is outdated in Gradle

霸气de小男生 提交于 2019-12-11 02:49:31
问题 Using the Gradle build system, is it possible to give a warning during building when a newer version of a dependency is available? I got the following dependencies for example: dependencies { compile 'com.nativelibs4java:bridj:0.6.2' compile 'net.java.dev.jna:jna:4.1.0' compile 'de.vorb:jtesseract:0.0.4' compile 'de.vorb:jleptonica:0.0.2' testCompile 'junit:junit:4.11' } And I expect them to be updated quite often. Some are in a released version, hence it could be safe to pull updates

Help with one step build all projects + installer (.NET + WiX)

不羁岁月 提交于 2019-12-11 02:28:45
问题 I have prebuild events on the installer to rebuild the projects with the appropriate configuration etc. If I right-click build/rebuild on the WiX (3.0) project in visual studio it all builds fine, but if I try to run MSBuild on the wixproj file the pre-build events will throw errors. I can instead call Candle and Light on the wixproj but it won't run the pre-build events. The prebuild events rely on the macros provided by VS and I'm not sure how to get around that other than creating another