This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch test-build
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/test-build by this push:
     new c6c21c976 Uses script step
c6c21c976 is described below

commit c6c21c976825338b7c451eafb179127e41ef3618
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Thu Apr 7 08:38:08 2022 +0200

    Uses script step
---
 Jenkinsfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index be45ce13e..2b68e6f33 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -61,7 +61,9 @@ pipeline {
         changeRequest()
       }
       steps {
-        pullRequest.comment("Staged site is ready at 
https://struts.staged.apache.org/";)
+        script {
+          pullRequest.comment("Staged site is ready at 
https://struts.staged.apache.org/";)
+        }
       }
     }
   }

Reply via email to