aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2011-12-05 17:36:11 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2011-12-05 17:36:11 +0200
commitdbc9e44d7de8d1120f56b6138b1a58140e7cad0c (patch)
treeeda0388a166a0583e4dde26bc747fec042c30d29
parent2010c348baf70a150349c567c5981d8bc73e16a4 (diff)
downloadjenkins-plugin-shell-status-dbc9e44d7de8d1120f56b6138b1a58140e7cad0c.tar.gz
Add resources.
-rw-r--r--src/main/resources/hudson/plugins/shell/ShellWithStatus/config.jelly7
-rw-r--r--src/main/resources/hudson/plugins/shell/ShellWithStatus/help-command.html14
-rw-r--r--src/main/resources/index.jelly3
-rw-r--r--src/main/webapp/help.html3
4 files changed, 27 insertions, 0 deletions
diff --git a/src/main/resources/hudson/plugins/shell/ShellWithStatus/config.jelly b/src/main/resources/hudson/plugins/shell/ShellWithStatus/config.jelly
new file mode 100644
index 0000000..0eb17ef
--- /dev/null
+++ b/src/main/resources/hudson/plugins/shell/ShellWithStatus/config.jelly
@@ -0,0 +1,7 @@
+<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="Command" field="command"
+ description="See &lt;a href='${rootURL}/env-vars.html' target=_new>the list of available environment variables&lt;/a>">
+ <f:textarea name="command" value="${instance.command}"/>
+ </f:entry>
+</j:jelly> \ No newline at end of file
diff --git a/src/main/resources/hudson/plugins/shell/ShellWithStatus/help-command.html b/src/main/resources/hudson/plugins/shell/ShellWithStatus/help-command.html
new file mode 100644
index 0000000..50fed02
--- /dev/null
+++ b/src/main/resources/hudson/plugins/shell/ShellWithStatus/help-command.html
@@ -0,0 +1,14 @@
+<div>
+ <p>
+ Runs a shell script to build a project.
+ Script exit code is mapped to builds status:
+ <ul>
+ <li>0 - SUCCESS
+ <li>121 - UNSTABLE
+ <li>122 - FAILURE
+ <li>123 - NOT_BUILT
+ <li>124 - ABORTED
+ <li>Any other - FAILURE
+ </ul>
+ </p>
+</div>
diff --git a/src/main/resources/index.jelly b/src/main/resources/index.jelly
new file mode 100644
index 0000000..72f687f
--- /dev/null
+++ b/src/main/resources/index.jelly
@@ -0,0 +1,3 @@
+<div>
+ This plugin executes shell scripts and allows to set arbitrary build status based on the script exit code.
+</div>
diff --git a/src/main/webapp/help.html b/src/main/webapp/help.html
new file mode 100644
index 0000000..5ce7cbf
--- /dev/null
+++ b/src/main/webapp/help.html
@@ -0,0 +1,3 @@
+<div>
+ This is Execute Shell and Set Build Status plugin.
+</div>