Jenkinsのビルド番号(BUILD_NUMBER)の最大数は何ですか?私はオンラインで検索しようとしましたが、この情報を見つけることができませんでした。Jenkins BUILD_NUMBER制限 - 最大ビルド番号
無制限ですか、または制限がありますか(INTまたはINT64など)ですか?
PS: 私は、次のプラグインを使用してバック#1または#Nにそれをリセットするか(名前のプラグインを構築セットを使用して)指定された名前に値を設定する方法を探してませです。 https://wiki.jenkins-ci.org/display/JENKINS/Next+Build+Number+Plugin
それはプラグイン次のビルド番号を使用して、限界だ見つけるために - 私が「65535」ビルドを設定すると、それはまだ成功してくれ65536を取得で働いていたと私は999999999(9回)に、この値を増加し続け、それでもまだ動作しました。つまり、1000000000だった次のビルドが実行され、その他のいくつかの実行/ビルドで有効なJenkinsビルドが行われました。 (Iセット次のビルド番号、すなわちしない範囲内の整数でなかった示す)エラーMESGとbarfed 9999999999(10回)、ジェンキンスプラグイン:
私は次のようにビルド番号を設定しようと
A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.
Stack trace
javax.servlet.ServletException: Build number must be an integer
at org.jvnet.hudson.plugins.nextbuildnumber.NextBuildNumberAction.doSubmit(NextBuildNumberAction.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
確かに32ビット整数なのでしょうか?最大値4,294,967,296 – jonrsharpe
@jonrsharpeそれはその価値を取っていませんでしたbarfed。私の欠点としては、intの符号なし値です。つまり、最後の値として2147483647が使用されます。 –
あなたはまだあなた自身の質問に答えました。何を聞いていますか? – jonrsharpe