pchitale, did you get an answer?  I am wondering the same thing.  I need to
reset the build number back to 1 if the release version has been
incremented.  I have a multibranch pipeline jenkinsfile that kicks off a
build upon commits.  When product marketing wants to publish a new release,
the merged code would have gradle file updated for android, and plist files
for iOS with a new version.  I read these files after checking out the
source code to see if the build number needs to be reset back to 1.  I can't
figure out how to actually set the build number back to 1 from the Mac OS X
agent node building our iOS app.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/how-to-reset-build-number-tp1289785p4898876.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1496868418893-4898876.post%40n4.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to