You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amoro.apache.org by xu...@apache.org on 2024/04/26 08:45:33 UTC
(amoro) 15/15: [WAP] Update Jenkinsfile to build front site ith node v17
This is an automated email from the ASF dual-hosted git repository.
xuba pushed a commit to branch v0.7.x-test-front
in repository https://gitbox.apache.org/repos/asf/amoro.git
commit 934b812cbd692e102a2bdb6cca247733d5803cf4
Author: Xavier Bai <xu...@cisco.com>
AuthorDate: Fri Apr 26 14:41:49 2024 +0800
[WAP] Update Jenkinsfile to build front site ith node v17
---
Jenkinsfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 9e8312bba..67f077db3 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,11 +27,11 @@ def amoro_version() {
def imageTag() {
gitCommitHash = sh (script: "git log -n 1 --pretty=format:'%h'", returnStdout: true).trim()
- return "${amoro_version()}_" + gitCommitHash
+ return "${amoro_version()}_" + "${env.BRANCH_NAME}_" + gitCommitHash
}
def workDir() {
- return "/jenkins/workspace/workspace/Amoro_Pipeline_${env.BRANCH_NAME}"
+ return "/jenkins/workspace/workspace/amoro-pipeline-${env.BRANCH_NAME}"
}
def dockerQAUrl() {
@@ -62,7 +62,7 @@ pipeline {
stage('Maven install') {
steps {
script {
- sh("mvn clean install -DskipTests -am -e -pl ams/dist")
+ sh("mvn clean install -DskipTests -am -e -pl ams/dist -Dnode.version=v17.0.0")
}
}
}