versioning

How to use Jenkins to build multiple version of branches on master server?

删除回忆录丶 提交于 2020-01-03 16:41:25
问题 I am using Jenkins CI for automatic builds of my project version 2.9. Now I have to build 2.10 also. How do I setup 2.10 on Jenkins? Because the repository will be the same for 2.9 the build failed. How to deal with that problem? 回答1: You could either have two different build configurations for the different versions, if you plan to have both versions running alongside for some time, and need continuous builds for both branches, or configure the build with a parameter, if you only want

How to use Jenkins to build multiple version of branches on master server?

家住魔仙堡 提交于 2020-01-03 16:40:06
问题 I am using Jenkins CI for automatic builds of my project version 2.9. Now I have to build 2.10 also. How do I setup 2.10 on Jenkins? Because the repository will be the same for 2.9 the build failed. How to deal with that problem? 回答1: You could either have two different build configurations for the different versions, if you plan to have both versions running alongside for some time, and need continuous builds for both branches, or configure the build with a parameter, if you only want

VB.Net - What is the difference between AssemblyFileVersion & AssemblyFileVersionAttribute and AssemblyVersion & AssemblyVersionAttribute

此生再无相见时 提交于 2020-01-03 15:55:10
问题 I've inherited a VB.Net codebase which was VB 2005 and upgraded to VB 2008 consisting of around 100 projects I'm trying to re-version all of the components but have discovered some of the AssemblyInfo.vb files have an AssemblyFileVersion entry and some have an AssemblyFileVersionAttribute entry. Also, some have an AssemblyVersion entry and some have an AssemblyVersionAttribute entry. What is the difference between with and without Attribute ? Which ones should I be using? 回答1: There is no

VerQueryValueA writes invalid memory outside of the resource block

廉价感情. 提交于 2020-01-03 06:26:07
问题 I am retrieving a version string for the current executable using the following code: // http://stackoverflow.com/questions/13941837/how-to-get-version-info-from-resources std::string get_version_string() { auto hInst = GetModuleHandle(NULL); // The following functions allocate persistent one-time space in the process's memory - they don't need to have results freed auto hResInfo = FindResourceA(hInst, MAKEINTRESOURCE(1), RT_VERSION); auto dwSize = SizeofResource(hInst, hResInfo); auto

I can't undo changes to some resources in RTC, because they're “out of sync with the file system”. Help please :(

♀尐吖头ヾ 提交于 2020-01-02 09:58:45
问题 I made changes to some files i had in a project (they were auto generated with a tool). I want to roll back those changes, but when i click "undo" an error message appears, telling me that "Problems occurred running undo local changes", reason "Resource is out of sync with the file system". Now i'd really like to undo my changes :| Anyone have any ideas? Thx 回答1: You should be able to: launch a refresh sandbox (that will not commit anything), as shown in your previous question "Why aren't my

What is your preferred style of product version number and why?

耗尽温柔 提交于 2020-01-02 09:19:49
问题 Is it Major.Minor.Release - IBM style (eg. 1.2.3)? Is it the Year? (Windows '98) Something else? Reference: http://en.wikipedia.org/wiki/Versioning Presently I use major.minor.release.internal-release Example 01.12.02.19 For the next product, I was thinking of making it simpler Version-Build Example v1-b22 Before I finalize ('cause I will have to live with my decision for the rest of the product's life) I want to get as many points of views as I can. Thanks much! 回答1: [major].[minor].[patch]

Etiquette: Version bump my fork of opensource project? [closed]

核能气质少年 提交于 2020-01-02 05:04:05
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . This question is about etiquette and open source projects. I have forked an application from github and added two new features. The first feature has been request frequently elsewhere. I have added it. Code & implementation are clean (I think). The second feature is more of a

Etiquette: Version bump my fork of opensource project? [closed]

ぐ巨炮叔叔 提交于 2020-01-02 05:04:03
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . This question is about etiquette and open source projects. I have forked an application from github and added two new features. The first feature has been request frequently elsewhere. I have added it. Code & implementation are clean (I think). The second feature is more of a

WCF Versioning Enums

好久不见. 提交于 2020-01-02 01:54:52
问题 I'm beginning writing some WCF data contracts that need to be forward-compatible & versionable. I've been reading the MSDN article here, and was wondering if anyone has clarification on point #14 regarding enums. It reads as follows: 14. You should not add or remove enumeration members between versions. You should also not rename enumeration members, unless you use the Name property on the EnumMemberAttribute attribute to keep their names in the data contract model the same. Reading this, I

Put current git branch to project version

大城市里の小女人 提交于 2020-01-01 08:53:31
问题 I want to put the current git branch into the version field in pom xml. I found some post in the internet suggesting to do something like: <version>${scm.version}</version> but this seems not to work with git. Are there any other solutions? 回答1: Yes, use the git commit id plugin for maven It's pretty straightforward. You can use it to get the git branch with ${git.branch} So in your case it would go: <version>${git.branch}</version> 回答2: i created a plugin for this behavior (and by extend to