From a7eb9a745384bfd933eb2a3767e24e33694e1e17 Mon Sep 17 00:00:00 2001 From: Stefan Spieker Date: Sat, 1 Mar 2025 17:35:00 +0100 Subject: [PATCH] replaced groovy with jelly --- .../hudson/tasks/Shell/global.groovy | 31 ----------------- .../resources/hudson/tasks/Shell/global.jelly | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 31 deletions(-) delete mode 100644 core/src/main/resources/hudson/tasks/Shell/global.groovy create mode 100644 core/src/main/resources/hudson/tasks/Shell/global.jelly diff --git a/core/src/main/resources/hudson/tasks/Shell/global.groovy b/core/src/main/resources/hudson/tasks/Shell/global.groovy deleted file mode 100644 index 5b3c3c75962c..000000000000 --- a/core/src/main/resources/hudson/tasks/Shell/global.groovy +++ /dev/null @@ -1,31 +0,0 @@ -/* - * The MIT License - * - * Copyright (c) 2011, CloudBees, 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. - */ -package hudson.tasks.Shell -f=namespace(lib.FormTagLib) - -f.section(title:_("Shell")) { - f.entry(field: 'shell', title:_("Shell executable")) { - f.textbox() - } -} diff --git a/core/src/main/resources/hudson/tasks/Shell/global.jelly b/core/src/main/resources/hudson/tasks/Shell/global.jelly new file mode 100644 index 000000000000..6d53981e62da --- /dev/null +++ b/core/src/main/resources/hudson/tasks/Shell/global.jelly @@ -0,0 +1,33 @@ + + + + + + + + + + +