From 6e7eb8f5dcc7425acd937046d517b058ddc16414 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Thu, 13 Jul 2023 12:38:21 +0200 Subject: [PATCH] jenkins: add build step --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index b9544b1..111f56a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,6 +44,9 @@ pipeline { script { FAILED_STAGE=env.STAGE_NAME } + configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { + sh 'mvn -s $MAVEN_SETTINGS clean install' + } } } //stage build } //stages -- GitLab