Index: pom.xml
===================================================================
--- pom.xml	(révision 41035)
+++ pom.xml	(copie de travail)
@@ -1,9 +1,9 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <parent>
-    <groupId>org.jvnet.hudson.plugins</groupId>
+    <groupId>org.jenkins-ci.plugins</groupId>
     <artifactId>plugin</artifactId>
-    <version>1.318</version>
+    <version>1.544</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
   
Index: src/main/java/hudson/plugins/powershell/PowerShell.java
===================================================================
--- src/main/java/hudson/plugins/powershell/PowerShell.java	(révision 41035)
+++ src/main/java/hudson/plugins/powershell/PowerShell.java	(copie de travail)
@@ -14,16 +14,20 @@
  * @author Kohsuke Kawaguchi
  */
 public class PowerShell extends CommandInterpreter {
-    @DataBoundConstructor
     public PowerShell(String command) {
-        super(command);
+        this(command, false);
     }
 
+    @DataBoundConstructor
+    public PowerShell(String command, boolean markBuildAsUnstable) {
+        super(command, markBuildAsUnstable);
+    }
+
     protected String getFileExtension() {
         return ".ps1";
     }
 
-    protected String[] buildCommandLine(FilePath script) {
+    public String[] buildCommandLine(FilePath script) {
         return new String[] { "powershell.exe","& \'"+script.getRemote()+"\'"};
     }
 
Index: src/main/resources/hudson/plugins/powershell/PowerShell/config.jelly
===================================================================
--- src/main/resources/hudson/plugins/powershell/PowerShell/config.jelly	(révision 41035)
+++ src/main/resources/hudson/plugins/powershell/PowerShell/config.jelly	(copie de travail)
@@ -26,4 +26,8 @@
   <f:entry title="${%Command}" field="command">
     <f:textarea />
   </f:entry>
+  <f:entry title="">
+    <f:checkbox name="markBuildAsUnstable" checked="${instance.markBuildAsUnstable}"
+            title="${%markAsUnstableTitle}"/>
+  </f:entry>
 </j:jelly>
\ Pas de retour chariot à la fin du fichier
Index: src/main/resources/hudson/plugins/powershell/PowerShell/config.properties
===================================================================
--- src/main/resources/hudson/plugins/powershell/PowerShell/config.properties	(révision 0)
+++ src/main/resources/hudson/plugins/powershell/PowerShell/config.properties	(copie de travail)
@@ -0,0 +1,23 @@
+# The MIT License
+#
+# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
+#
+# 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.
+
+markAsUnstableTitle=If the command fails, mark the build as unstable instead of failed
\ Pas de retour chariot à la fin du fichier
Index: src/main/resources/hudson/plugins/powershell/PowerShell/config_fr.properties
===================================================================
--- src/main/resources/hudson/plugins/powershell/PowerShell/config_fr.properties	(révision 0)
+++ src/main/resources/hudson/plugins/powershell/PowerShell/config_fr.properties	(copie de travail)
@@ -0,0 +1,24 @@
+# The MIT License
+#
+# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
+#
+# 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.
+
+Command=Commande
+markAsUnstableTitle=Marquer la construction comme instable et non �chou�e si la commande �choue
\ Pas de retour chariot à la fin du fichier
