diff --git a/core/src/main/resources/hudson/cli/CLIAction/command.jelly b/core/src/main/resources/hudson/cli/CLIAction/command.jelly index ff811cbd5438..580659e338c4 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/command.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/command.jelly @@ -24,8 +24,7 @@ THE SOFTWARE. - - +

@@ -33,7 +32,7 @@ THE SOFTWARE.

-
+      
         
         
         
${command.usage}
diff --git a/core/src/main/resources/hudson/cli/CLIAction/example.jelly b/core/src/main/resources/hudson/cli/CLIAction/example.jelly index f9ead71074c3..58e9b60966ab 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/example.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/example.jelly @@ -24,6 +24,10 @@ THE SOFTWARE. -
java -jar jenkins-cli.jar -s ${h.inferHudsonURL(request)} -http ${commandArgs}
+ java -jar jenkins-cli.jar -s ${h.inferHudsonURL(request)} -http ${commandArgs} +
+ ${content} + +
diff --git a/core/src/main/resources/hudson/cli/CLIAction/index.jelly b/core/src/main/resources/hudson/cli/CLIAction/index.jelly index c91bbb530ce5..b7a17b0bfac2 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/index.jelly +++ b/core/src/main/resources/hudson/cli/CLIAction/index.jelly @@ -24,36 +24,61 @@ THE SOFTWARE. - - + + + + - -

- ${%blurb(rootURL)} -

- - - -

${%Available Commands}

- - - - - - - - - + + + + +
+ ${%description} +
+ + +
    +
  1. +
    + ${%instruction1} +
    + + + jenkins-cli.jar + +
  2. +
  3. +

    + ${%instruction2} +

    + + +
  4. +
+
+ + +
${%Name}${%Description}
+ - - + + - - -
- ${command.name} - ${command.shortDescription}${%Name}${%Description}
+ + + + + + ${command.name} + + ${command.shortDescription} + + + + +
diff --git a/core/src/main/resources/hudson/cli/CLIAction/index.properties b/core/src/main/resources/hudson/cli/CLIAction/index.properties index 3dd89d4f87e1..45c5c1200a2b 100644 --- a/core/src/main/resources/hudson/cli/CLIAction/index.properties +++ b/core/src/main/resources/hudson/cli/CLIAction/index.properties @@ -1,4 +1,4 @@ -Jenkins\ CLI=Jenkins CLI -blurb=You can access various features in Jenkins through a command-line tool. See \ - the documentation for more details of this feature. \ - To get started, download jenkins-cli.jar, and run it as follows: +description=You can access various features in Jenkins through a command-line tool. This can be convenient for scripting\ + \ of routine tasks, bulk updates, troubleshooting, and more. +instruction1=Download the Jenkins CLI: +instruction2=Run it as follows diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_bg.properties b/core/src/main/resources/hudson/cli/CLIAction/index_bg.properties deleted file mode 100644 index 549c200df2da..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_bg.properties +++ /dev/null @@ -1,36 +0,0 @@ -# The MIT License -# -# Bulgarian translation: Copyright (c) 2016, 2017 Alexander Shopov -# -# 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. - -Available\ Commands=\ - Налични команди -# You can access various features in Jenkins through a command-line tool. See \ -# the Wiki for more details of this feature.\ -# To get started, download jenkins-cli.jar, and run it as follows: -blurb=\ - Имате достъп до функционалността на Jenkins чрез програма за командния ред.\ - За повече информация прегледайте\ - уикито.\ - Свалете файла jenkins-cli.jar и го\ - изпълнете по следния начин: -# Jenkins CLI -Jenkins\ CLI=\ - Jenkins от командния ред diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_cs.properties b/core/src/main/resources/hudson/cli/CLIAction/index_cs.properties deleted file mode 100644 index 22e2a3a870ff..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_cs.properties +++ /dev/null @@ -1,24 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. -# -# 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. - -Available\ Commands=Dostupné příkazy -Jenkins\ CLI=Jenkins CLI diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_da.properties b/core/src/main/resources/hudson/cli/CLIAction/index_da.properties deleted file mode 100644 index 3de7765f1543..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_da.properties +++ /dev/null @@ -1,25 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. Kohsuke Kawaguchi. Knud Poulsen. -# -# 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. - -Available\ Commands=Tilgængelige kommandoer -Jenkins\ CLI=Jenkins CLI -blurb=Du kan tilgå diverse features i Jenkins igennem et kommandolinie værktøj. Se \ diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_de.properties b/core/src/main/resources/hudson/cli/CLIAction/index_de.properties deleted file mode 100644 index 3b4c21448499..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_de.properties +++ /dev/null @@ -1,7 +0,0 @@ -Available\ Commands=Verfügbare Kommandos -Jenkins\ CLI=Jenkins CLI -blurb=\ - Sie können ausgewählte Funktionen von Jenkins über ein Kommandozeilenwerkzeug (engl.: Command Line Interface, CLI) nutzen. \ - Näheres dazu finden Sie in der Dokumentation. \ - Um Jenkins CLI einzusetzen, laden Sie jenkins-cli.jar \ - lokal herunter und starten es wie folgt: diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_es.properties b/core/src/main/resources/hudson/cli/CLIAction/index_es.properties deleted file mode 100644 index 740b3e50c3f8..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_es.properties +++ /dev/null @@ -1,27 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. -# -# 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. - -blurb=Puedes acceder a varias funcionalidades de Jenkins utilizando la linea de comandos. \ - Echa un vistazo a esta página para mas detalles. \ - Para comenzar, descarga a href="{0}/jnlpJars/jenkins-cli.jar">jenkins-cli.jar, y ejecuta lo siguiente: -Jenkins\ CLI=Interfaz de comandos (CLI) de Jenkins -Available\ Commands=Comandos disponibles diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_fr.properties b/core/src/main/resources/hudson/cli/CLIAction/index_fr.properties deleted file mode 100644 index f7d1f0c08220..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_fr.properties +++ /dev/null @@ -1,25 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. -# -# 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. - -Available\ Commands=Commandes disponibles -Jenkins\ CLI=Ligne de commande (CLI) Jenkins -blurb=Vous pouvez accéder à diverses fonctionnalités de Jenkins à travers une ligne de commande. Voir le wiki pour plus d''information sur cette fonctionnalité. Pour débuter, téléchargez jenkins-cli.jar et utilisez le comme suit: diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_it.properties b/core/src/main/resources/hudson/cli/CLIAction/index_it.properties deleted file mode 100644 index beca5931cfb0..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_it.properties +++ /dev/null @@ -1,32 +0,0 @@ -# The MIT License -# -# Italian localization plugin for Jenkins -# Copyright © 2020 Alessandro Menti -# -# 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. - -Available\ Commands=Comandi disponibili -blurb=È possibile accedere a varie funzionalità di Jenkins tramite uno \ - strumento da riga di comando. Si veda \ - la documentazione per \ - ulteriori dettagli su questa funzionalità. \ - Per iniziare, scaricare \ - jenkins-cli.jar ed eseguirlo \ - come segue: -Jenkins\ CLI=Interfaccia a riga di comando di Jenkins diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_ja.properties b/core/src/main/resources/hudson/cli/CLIAction/index_ja.properties deleted file mode 100644 index 7fbaebe0f110..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_ja.properties +++ /dev/null @@ -1,28 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2011, Sun Microsystems, Inc., Seiji Sogabe -# -# 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. - -blurb=コマンドラインのツールからJenkinsの様々な機能を利用できます。\ - 詳細はWikiを参照してください。\ - まずは、jenkins-cli.jarをダウンロードして次のように起動してください。 -Jenkins\ CLI=Jenkins CLI -Available\ Commands=利用可能なコマンド - diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_lv.properties b/core/src/main/resources/hudson/cli/CLIAction/index_lv.properties deleted file mode 100644 index 586a5c0b3f4d..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_lv.properties +++ /dev/null @@ -1,24 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. -# -# 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. - -Available\ Commands=Pieejamās komandas -Jenkins\ CLI=Jenkins komandrindas saskarne diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_nl.properties b/core/src/main/resources/hudson/cli/CLIAction/index_nl.properties deleted file mode 100644 index 5d0cbf81a0fe..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_nl.properties +++ /dev/null @@ -1,24 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. -# -# 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. - -Available\ Commands=Beschikbare commando''s -blurb=Je kan gebruik maken van verschillende mogelijkheden in Jenkins via een opdracht op de commandoregel. Zie de Wiki voor verder details hierover. Om te beginnen, download jenkins-cli.jar, en voer het uit als volgt: diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_pt_BR.properties b/core/src/main/resources/hudson/cli/CLIAction/index_pt_BR.properties deleted file mode 100644 index df50363df9e8..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_pt_BR.properties +++ /dev/null @@ -1,29 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc., Cleiber Silva, Fernando Boaglio -# -# 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. - -Available\ Commands=Comandos disponíveis -Jenkins\ CLI=CLI do Jenkins -blurb=Você pode acessar várias funcionalidades do Jenkins através da ferramenta de linha de comando. Veja \ - a documentação para maiores detalhes desta funcionalidade. \ - Para começar, baixe o jenkins-cli.jar e execute da seguinte forma: -Description=Descrição -Name=Nome diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_ru.properties b/core/src/main/resources/hudson/cli/CLIAction/index_ru.properties deleted file mode 100644 index df9f44405ea3..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_ru.properties +++ /dev/null @@ -1,25 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2010, Sun Microsystems, Inc. -# -# 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. - -Available\ Commands=Доступные команды -Jenkins\ CLI=Консольные команды Jenkins -blurb=С помощью консольных команд Jenkins вы можете получить доступ к большому количеству функций. Более детальная информация находится в базе знаний Jenkins. Для того, чтобы начать пользоваться консольными командами, необходимо скачать jenkins-cli.jar, и запустить пакет следующим образом: diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_sr.properties b/core/src/main/resources/hudson/cli/CLIAction/index_sr.properties deleted file mode 100644 index 6e5f072b3753..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_sr.properties +++ /dev/null @@ -1,5 +0,0 @@ -# This file is under the MIT License by authors - -Jenkins\ CLI=Jenkins са командне линије -blurb=Помоћу конзоле команде Jenkins можете добити приступ великом броју функција. Детаљне информације се налазе на у Jenkins вики. У циљу да почнете да користите команду, потребно је да преузмете jenkins-cli.jar, и покренете пакет на следећи начин: -Available\ Commands=Доступне команде diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_sv_SE.properties b/core/src/main/resources/hudson/cli/CLIAction/index_sv_SE.properties deleted file mode 100644 index c6bb04cf681b..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_sv_SE.properties +++ /dev/null @@ -1,8 +0,0 @@ -Available\ Commands=Tillgängliga kommandon -Jenkins\ CLI=Jenkins kommandoradsgränssnitt -blurb=Du kan komma åt olika funktioner i Jenkins genom ett kommandoradsverktyg. Mer information om \ - den här funktionen finns i dokumentationen. \ - Ladda ned jenkins-cli.jar för att komma igång och kör följande: - -Description=Beskrivning -Name=Namn diff --git a/core/src/main/resources/hudson/cli/CLIAction/index_zh_TW.properties b/core/src/main/resources/hudson/cli/CLIAction/index_zh_TW.properties deleted file mode 100644 index 860d1fd97d12..000000000000 --- a/core/src/main/resources/hudson/cli/CLIAction/index_zh_TW.properties +++ /dev/null @@ -1,29 +0,0 @@ -# The MIT License -# -# Copyright (c) 2004-2013, Sun Microsystems, Inc., Chunghwa Telecom Co., Ltd., -# and Pei-Tang Huang -# -# 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. - -Jenkins\ CLI=Jenkins 命令列介面 -blurb=\ - 您可以透過命令列工具使用 Jenkins 的諸多功能。\ - 在 Wiki 上有詳細的功能說明。\ - 心動不如馬上行動,下載 jenkins-cli.jar 並執行以下指令: -Available\ Commands=可用指令 diff --git a/core/src/main/resources/jenkins/model/Jenkins/configure.jelly b/core/src/main/resources/jenkins/model/Jenkins/configure.jelly index b24f0e872cf4..91d01c69f549 100644 --- a/core/src/main/resources/jenkins/model/Jenkins/configure.jelly +++ b/core/src/main/resources/jenkins/model/Jenkins/configure.jelly @@ -43,7 +43,7 @@ THE SOFTWARE.
${it.rootDir} - +
diff --git a/core/src/main/resources/lib/layout/copyButton.jelly b/core/src/main/resources/lib/layout/copyButton.jelly index 8a65c641657a..fc4234b0f21f 100644 --- a/core/src/main/resources/lib/layout/copyButton.jelly +++ b/core/src/main/resources/lib/layout/copyButton.jelly @@ -59,7 +59,9 @@ THE SOFTWARE. message="${attrs.message ?: '%Copied'}" tooltip="${attrs.label != null ? null : attrs.tooltip ?: '%Copy'}" type="button"> - + + + ${attrs.label} diff --git a/core/src/main/resources/lib/layout/copyButton/copyButton.js b/core/src/main/resources/lib/layout/copyButton/copyButton.js index 2a9c7bfe56ff..2b736b8a816f 100644 --- a/core/src/main/resources/lib/layout/copyButton/copyButton.js +++ b/core/src/main/resources/lib/layout/copyButton/copyButton.js @@ -18,8 +18,10 @@ Behaviour.specify( navigator.clipboard .writeText(text) .then(() => { - // Show the completion message - hoverNotification(copyButton.getAttribute("message"), copyButton); + copyButton.classList.add("jenkins-copy-button--copied"); + setTimeout(() => { + copyButton.classList.remove("jenkins-copy-button--copied"); + }, 2000); }) .catch(() => { hoverNotification( diff --git a/src/main/scss/components/_buttons.scss b/src/main/scss/components/_buttons.scss index a8c5c7b91bfd..58e1eba373aa 100644 --- a/src/main/scss/components/_buttons.scss +++ b/src/main/scss/components/_buttons.scss @@ -24,7 +24,6 @@ min-height: 2.25rem; white-space: nowrap; gap: 1ch; - transition: var(--standard-transition); &::before { background: var(--button-background); @@ -190,24 +189,44 @@ .jenkins-copy-button { .jenkins-copy-button__icon { position: relative; - width: 0.9rem; + display: grid; + grid-template-columns: 1fr; + place-items: center; + width: 1.125rem; height: 1.125rem; transition: var(--standard-transition); + svg { + grid-area: 1 / 1; + scale: -0.5; + opacity: 0; + transition: var(--elastic-transition); + filter: blur(2px); + color: var(--success-color); + + * { + stroke-width: 40px; + } + } + &::before, &::after { content: ""; - position: absolute; - width: 75%; - height: 75%; + position: relative; + width: 0.6875rem; + height: 0.875rem; border: 0.1rem solid currentColor; border-radius: 0.2rem; - transition: var(--standard-transition); + transition: + translate var(--standard-transition), + scale var(--standard-transition), + opacity var(--standard-transition), + filter var(--standard-transition); + grid-area: 1 / 1; } &::before { - top: 4%; - left: 1%; + translate: -16% -10%; clip-path: polygon( 100% 0, 100% 22.5%, @@ -219,19 +238,45 @@ } &::after { - bottom: 4%; - right: 1%; + translate: 16% 10%; + } + } + + &--copied { + color: var(--success-color) !important; + + --button-background: color-mix( + in sRGB, + var(--success-color) 10%, + transparent + ); + --button-background--hover: var(--button-background); + --button-background--active: var(--button-background); + + .jenkins-copy-button__icon { + &::before, + &::after { + scale: 1.25; + opacity: 0; + filter: blur(1px); + } + + svg { + scale: 1.25; + opacity: 1; + filter: blur(0); + } } } &:hover { .jenkins-copy-button__icon { &::before { - transform: translate(7%, 4.5%); + translate: -11% -8%; } &::after { - transform: translate(-7%, -4.5%); + translate: 11% 8%; } } } diff --git a/src/main/scss/components/_section.scss b/src/main/scss/components/_section.scss index 4519554ff849..0de452cfba43 100644 --- a/src/main/scss/components/_section.scss +++ b/src/main/scss/components/_section.scss @@ -5,11 +5,6 @@ padding: var(--section-padding) 0 0 0; max-width: 1800px; - &:first-of-type { - border-top: none; - padding-top: 0; - } - &:last-child { padding-bottom: 0; } diff --git a/src/main/scss/form/_layout.scss b/src/main/scss/form/_layout.scss index 8983245875e2..53f67b0a76fa 100644 --- a/src/main/scss/form/_layout.scss +++ b/src/main/scss/form/_layout.scss @@ -2,6 +2,13 @@ max-width: var(--form-item-max-width); } +.jenkins-page-description { + font-size: 0.9375rem; + color: var(--text-color-secondary); + margin: calc(var(--section-padding) * -0.25) 0 var(--section-padding) 0; + line-height: 1.66; +} + .jenkins-fieldset { border: none; margin: 0; @@ -58,16 +65,21 @@ .jenkins-quote { position: relative; - display: flex; - line-height: 38px; - - &::before { - content: ""; - position: relative; - width: 2px; - background: var(--input-border); - margin-right: 1rem; - border-radius: 2px; + display: inline-flex; + align-items: center; + background-color: var(--button-background); + border-radius: var(--form-input-border-radius); + padding: 0 1rem; + gap: 1.5rem; + + .jenkins-copy-button { + margin-top: 0.25rem; + margin-bottom: 0.25rem; + margin-right: -0.75rem; + padding: 0; + width: 2.5rem; + height: 2.5rem; + border-radius: calc(var(--form-input-border-radius) - 0.25rem); } &--monospace { @@ -165,3 +177,46 @@ height: 1rem; } } + +.jenkins-instructions { + display: flex; + flex-direction: column; + list-style-type: none; + padding: 0; + margin: 0 0 var(--section-padding); + gap: var(--section-padding); + counter-reset: section; + + li { + position: relative; + display: flex; + flex-direction: column; + align-items: start; + gap: 0.5rem; + padding-left: 3rem; + padding-top: 0.35rem; + + .jenkins-instructions__label { + font-weight: 450; + margin: 0; + } + + &::before { + counter-increment: section; + content: counters(section, ""); + position: absolute; + display: flex; + align-items: center; + justify-content: center; + top: 0; + left: 0; + background: var(--text-color); + width: 2rem; + height: 2rem; + color: var(--background); + border-radius: 100px; + text-align: center; + font-weight: 450; + } + } +}