Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Hudson の .txt ファイルにビルド番号を取得する方法を知りたい
実行シェルの下で echo $BUILD_NUMBER >> bldnum.txt
これは正しい方法ですか?
Linuxのあるバージョンを使用している場合。Windowsでは、バッチの実行タスクが必要です
echo %BUILD_NUMBER% > bldnum.txt
(私はあなたが追加したくないと仮定しています...ビルドはとにかく以前のビルドへの依存関係をクリアする必要があります)