You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/03/30 15:22:32 UTC

[comdev-site] branch testhugo updated: Quoting

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

sebb pushed a commit to branch testhugo
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/testhugo by this push:
     new 313d921  Quoting
313d921 is described below

commit 313d921fa79f6ba4dd450124a3d36817be3b8265
Author: Sebb <se...@apache.org>
AuthorDate: Thu Mar 30 16:22:24 2023 +0100

    Quoting
---
 Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index f5b90de..26417cc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -57,11 +57,11 @@ pipeline {
         stage('Build') {
             steps {
                 script {
-                    sh "echo $PATH"
-                    sh "for i in $(which -a ruby) ; do echo $i; $i version; done"
+                    sh 'echo $PATH'
+                    sh 'for i in $(which -a ruby) ; do echo $i; $i version; done'
                     withEnv(["PATH=\\$PATH:${env.HUGO_DIR}/bin"]) {
-                        sh "echo $PATH"
-                        sh "for i in $(which -a ruby) ; do echo $i; $i version; done"
+                        sh 'echo $PATH'
+                        sh 'for i in $(which -a ruby) ; do echo $i; $i version; done'
                         sh "hugo --destination ${env.OUT_DIR}"
                     }
                     sh "${env.PAGEFIND_DIR}/bin/pagefind --source ${env.OUT_DIR}"