Re: [EXTERNAL] - Re: how to reset build number

2017-06-09 Thread jerome
Just an idea, but if I understand you well, you may want to split the concept of Jenkins build number and the build number for you application. Maybe an SQLite db (or any other database type) where you could read/write with your main version, and make an incremental entry for the version build

Re: [EXTERNAL] - Re: how to reset build number

2017-06-08 Thread Dirk Heinrichs
On 08.06.2017 14:55, Derrik Ammons wrote: > But, Jenkins thinks the build is located in the last incremented build > directory. For example, if the previous build was 5.0.5 (24), and the > source code has 5.1.0, the iOS app has 5.1.0.1 but it's the link to > the build artifacts points to build 25

Re: [EXTERNAL] - Re: how to reset build number

2017-06-08 Thread Derrik Ammons
I actually have bot the Version Number Plugin and Next Build Number Plugin and used them both before in jobs before Pipelines came around. Now that I have a Jenkinsfile for the Mutibranch Pipeline, I am not sure how to set the Version at build time for Jenkins. I retrieve the Release Number from

Re: [EXTERNAL] - Re: how to reset build number

2017-06-08 Thread Dirk Heinrichs
On 08.06.2017 14:02, Richard Ginga wrote: > The Next Build Number only lets you increment the build number. you > can't set it back to anything because the build number is a very > integral part of how Jenkins works. But the Version Number Plugin