提交 ee253be8 编写于 作者: J Jesse Glick

Normalized form binding and configuration style of Fingerprinter and its targets field.

上级 7076f0de
......@@ -269,15 +269,12 @@ public class Fingerprinter extends Recorder implements Serializable, DependencyD
return Messages.Fingerprinter_DisplayName();
}
@Override
public String getHelpFile() {
return "/help/project-config/fingerprint.html";
@Deprecated
public FormValidation doCheck(@AncestorInPath AbstractProject project, @QueryParameter String value) throws IOException {
return doCheckTargets(project, value);
}
/**
* Performs on-the-fly validation on the file mask wildcard.
*/
public FormValidation doCheck(@AncestorInPath AbstractProject project, @QueryParameter String value) throws IOException {
public FormValidation doCheckTargets(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String value) throws IOException {
return FilePath.validateFileMask(project.getSomeWorkspace(),value);
}
......
......@@ -23,10 +23,8 @@ THE SOFTWARE.
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:entry title="${%Files to fingerprint}"
description="${%description('http://ant.apache.org/manual/Types/fileset.html')}">
<f:textbox name="targets" value="${instance.targets}"
checkUrl="'descriptorByName/hudson.tasks.Fingerprinter/check?value='+encodeURIComponent(this.value)" />
<f:entry title="${%Files to fingerprint}" field="targets">
<f:textbox/>
</f:entry>
<f:entry title="">
<f:checkbox name="recordBuildArtifacts" checked="${instance.recordBuildArtifacts}"
......
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Eric Lefevre-Ardant
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
description=Can use wildcards like \u2018module/dist/**/*.zip\u2019. \
See the <a href="{0}">@includes of Ant fileset</a> for the exact format. \
The base directory is <a href="ws/">the workspace</a>.
......@@ -23,4 +23,3 @@
Keep\ the\ build\ logs\ of\ dependencies=Behold byggelogs for afh\u00e6ngigheder
Files\ to\ fingerprint=Filer der skal tages filfingeraftryk af
Fingerprint\ all\ archived\ artifacts=Tag filfingeraftryk af alle arkiverede artifakter
description=Du kan bruge wildcards som ''module/dist/**/*.zip''. \
......@@ -20,11 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Files\ to\ fingerprint=Dateien, von denen Fingerabdr\u00FCcke erzeugt werden sollen
description=\
Es sind regul\u00E4re Ausdr\u00FCcke wie z.B. ''module/dist/**/*.zip'' erlaubt. \
Das genaue Format k\u00F6nnen Sie der <a href="{0}"> \
Spezifikation f\u00FCr @includes eines Ant-Filesets</a> entnehmen. \
Das Ausgangsverzeichnis ist der <a href="ws/">Arbeitsbereich</a>.
Fingerprint\ all\ archived\ artifacts=Erzeuge Fingerabdr\u00FCcke von allen archivierten Artefakten
Keep\ the\ build\ logs\ of\ dependencies=Behalte die Build-Protokolle aller Abh\u00E4ngigkeiten.
Files\ to\ fingerprint=Dateien, von denen Fingerabdr\u00fccke erzeugt werden sollen
Fingerprint\ all\ archived\ artifacts=Erzeuge Fingerabdr\u00fccke von allen archivierten Artefakten
Keep\ the\ build\ logs\ of\ dependencies=Behalte die Build-Protokolle aller Abh\u00e4ngigkeiten.
......@@ -20,10 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
description=Se pueden usar comodines como ''module/dist/**/*.zip''. \
Echa un vistazo al <a href="{0}"> \
atributo @includes de la etiqueta fileset de Ant</a> para conocer el formato exacto. \
El directorio base es <a href="ws/">el workspace</a>.
Files\ to\ fingerprint=Almacenar la firma de los ficheros:
Keep\ the\ build\ logs\ of\ dependencies=\u00BFConservar los ''logs'' de dependencias de las ejecuciones?
Keep\ the\ build\ logs\ of\ dependencies=\u00bfConservar los ''logs'' de dependencias de las ejecuciones?
Fingerprint\ all\ archived\ artifacts=Almacenar la firmar de todos los ficheros generados
......@@ -20,9 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Files\ to\ fingerprint=Fichiers \u00E0 marquer d''une empreinte num\u00E9rique
description=Les wildcards du type ''module/dist/**/*.zip'' sont autoris\u00E9s. \
Voir le format exact des <a href="{0}">@includes des filesets Ants</a>. \
Le r\u00E9pertoire de base est le <a href="ws/">r\u00E9pertoire de travail (workspace)</a>.
Fingerprint\ all\ archived\ artifacts=Marquer d''une empreinte num\u00E9rique tous les artefacts archiv\u00E9s
Keep\ the\ build\ logs\ of\ dependencies=Conserver les logs de build des d\u00E9pendances
Files\ to\ fingerprint=Fichiers \u00e0 marquer d''une empreinte num\u00e9rique
Fingerprint\ all\ archived\ artifacts=Marquer d''une empreinte num\u00e9rique tous les artefacts archiv\u00e9s
Keep\ the\ build\ logs\ of\ dependencies=Conserver les logs de build des d\u00e9pendances
......@@ -21,6 +21,5 @@
# THE SOFTWARE.
Files\ to\ fingerprint=\u8a18\u9332\u3059\u308b\u30d5\u30a1\u30a4\u30eb
description=\u8a18\u9332\u3057\u305f\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u3092<a href="{0}">Ant fileset includes\u5c5e\u6027</a>\u306e\u66f8\u5f0f\u3067\uff08\u30d9\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f<a href="ws/">\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u30eb\u30fc\u30c8</a>\uff09\u3002\u4f8b\uff1amodule/dist/**/*.zip
Fingerprint\ all\ archived\ artifacts=\u4fdd\u5b58\u3055\u308c\u305f\u6210\u679c\u7269\u306e\u6307\u7d0b\u3092\u8a18\u9332
Keep\ the\ build\ logs\ of\ dependencies=\u4f9d\u5b58\u3057\u3066\u3044\u308b\u4e0a\u6d41\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d3\u30eb\u30c9\u3092\u4fdd\u5b58
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
description= \
Je kunt jokerkarakters zoals in 'module/dist/**/*.zip' gebruiken. \
Zie de <a href="{0}">@includes mogelijkheid van Ant bestandsbundels</a> voor het correcte \
formaat. \
De basisfolder is <a href="ws/">de werkplaats</a>.
......@@ -20,9 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
description=Pode usar caracteres coringas como em ''module/dist/**/*.zip''. \
Veja o <a href="{0}">Fileset @includes do Ant</a> para o formato exato. \
O diret\ufffdrio base \ufffd <a href="ws/">o workspace</a>.
Keep\ the\ build\ logs\ of\ dependencies=Manter os 'logs' de constru\ufffd\ufffdo das depend\ufffdncias
Files\ to\ fingerprint=Arquivos para gerar assinatura
Fingerprint\ all\ archived\ artifacts=Criar assinatura para todos os artefatos arquivados
......@@ -21,10 +21,5 @@
# THE SOFTWARE.
Files\ to\ fingerprint=\u0424\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0432
description=\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, ''module/dist/**/*.zip''. \
\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href="{0}"> \
@includes \u0434\u043b\u044f \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432 Ant</a>. \
\u0411\u0430\u0437\u043e\u0432\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439 \u0434\u043b\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href="ws/">\u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f</a>.
Fingerprint\ all\ archived\ artifacts=\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u0438 \u0432\u0441\u0435\u0445 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043e\u0442\u043f\u0435\u0447\u0430\u0442\u043a\u043e\u0432
Keep\ the\ build\ logs\ of\ dependencies=\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0436\u0443\u0440\u043d\u0430\u043b \u0441\u0431\u043e\u0440\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439
......@@ -21,6 +21,5 @@
# THE SOFTWARE.
Files\ to\ fingerprint=Parmakizi kaydedilecek dosyalar
#description=a\u00e7\u0131klama
Fingerprint\ all\ archived\ artifacts=T\u00fcm ar\u015fivlenmi\u015f artefaktlar\u0131n parmakizini kaydet
Keep\ the\ build\ logs\ of\ dependencies=Ba\u011f\u0131ml\u0131l\u0131klar\u0131n yap\u0131land\u0131rma loglar\u0131n\u0131 sakla
......@@ -21,8 +21,5 @@
# THE SOFTWARE.
Files\ to\ fingerprint=\u8981\u6309\u62bc\u6307\u7d0b\u7684\u6a94\u6848
description=\u53ef\u4ee5\u50cf "module/dist/**/*.zip" \u9019\u6a23\u4f7f\u7528\u842c\u7528\u5b57\u5143\u3002\
\u78ba\u5207\u683c\u5f0f\u53ef\u4ee5\u53c3\u8003 <a href="{0}">Ant fileset \u7684 @includes</a>\u3002\
\u5de5\u4f5c\u76ee\u9304\u5c31\u662f<a href='ws/'>\u5de5\u4f5c\u5340\u76ee\u9304</a>\u3002
Fingerprint\ all\ archived\ artifacts=\u6309\u62bc\u6240\u6709\u5c01\u5b58\u7684\u6210\u54c1
Keep\ the\ build\ logs\ of\ dependencies=\u4fdd\u7559\u76f8\u4f9d\u6a21\u7d44\u7684\u5efa\u7f6e\u8a18\u9304
<div>
Can use wildcards like <code>module/dist/**/*.zip</code>
(see the <a href="http://ant.apache.org/manual/Types/fileset.html">@includes of Ant fileset</a> for the exact format).
The base directory is <a href="ws/">the workspace</a>.
</div>
<div>
Du kan bruge wildcards som 'module/dist/**/*.zip'.
</div>
<div>
Es sind reguläre Ausdrücke wie z.B. 'module/dist/**/*.zip' erlaubt.
Das genaue Format können Sie der <a href="http://ant.apache.org/manual/Types/fileset.html">
Spezifikation für @includes eines Ant-Filesets</a> entnehmen.
Das Ausgangsverzeichnis ist der <a href="ws/">Arbeitsbereich</a>.
</div>
<div>
Se pueden usar comodines como 'module/dist/**/*.zip'.
Echa un vistazo al <a href="http://ant.apache.org/manual/Types/fileset.html">
atributo @includes de la etiqueta fileset de Ant</a> para conocer el formato exacto.
El directorio base es <a href="ws/">el workspace</a>.
</div>
<div>
Les wildcards du type 'module/dist/**/*.zip' sont autorisés.
Voir le format exact des <a href="http://ant.apache.org/manual/Types/fileset.html">@includes des filesets Ants</a>.
Le répertoire de base est le <a href="ws/">répertoire de travail (workspace)</a>.
</div>
<div>
記録したいファイルのパターンを<a href="http://ant.apache.org/manual/Types/fileset.html">Ant fileset includes属性</a>の書式で(ベースディレクトリは<a href="ws/">ワークスペースルート</a>)。例:module/dist/**/*.zip
</div>
<div>
Je kunt jokerkarakters zoals in 'module/dist/**/*.zip' gebruiken.
Zie de <a href="http://ant.apache.org/manual/Types/fileset.html">@includes mogelijkheid van Ant bestandsbundels</a> voor het correcte
formaat.
De basisfolder is <a href="ws/">de werkplaats</a>.
</div>
<div>
Pode usar caracteres coringas como em 'module/dist/**/*.zip'.
Veja o <a href="http://ant.apache.org/manual/Types/fileset.html">Fileset @includes do Ant</a> para o formato exato.
O diret�rio base � <a href="ws/">o workspace</a>.
</div>
<div>
Вы можете использовать шаблоны, например, 'module/dist/**/*.zip'.
Подробнее смотрите <a href="http://ant.apache.org/manual/Types/fileset.html">
@includes для наборов файлов Ant</a>.
Базовой директорией для шаблонов является <a href="ws/">рабочая директория</a>.
</div>
<div>
可以像 "module/dist/**/*.zip" 這樣使用萬用字元。
確切格式可以參考 <a href="http://ant.apache.org/manual/Types/fileset.html">Ant fileset 的 @includes</a>
工作目錄就是<a href='ws/'>工作區目錄</a>
</div>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册