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/04/27 22:09:58 UTC

[comdev-events-site] branch preview/sample updated: expression not working as expected

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

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


The following commit(s) were added to refs/heads/preview/sample by this push:
     new eebb805  expression not working as expected
eebb805 is described below

commit eebb805203cc539830f8a509f7d307e2f71befb0
Author: Sebb <se...@apache.org>
AuthorDate: Thu Apr 27 23:09:50 2023 +0100

    expression not working as expected
---
 Jenkinsfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index d957954..ee077bf 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -38,6 +38,8 @@ pipeline {
                     env.LAST_SHA = sh(script:'git log -n 1 --pretty=format:\'%H\'', returnStdout: true).trim()
                     // Get current Hugo version
                     env.HUGO_VERSION_CURRENT = sh(script:'hugo version | cut -f 2 -d" "|cut -d- -f 1', returnStdout: true).trim()
+                    sh "echo Hugo current: '${env.HUGO_VERSION_CURRENT}'"
+                    sh "echo Hugo  target: '${HUGO_VERSION}'"
                 }
             }
         }