This is an automated email from the ASF dual-hosted git repository.
yasserzamani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push:
new 357b9c7 fix environment location
357b9c7 is described below
commit 357b9c70b000e9b8c3ebb2eda44e5b92c42971df
Author: Yasser Zamani <[email protected]>
AuthorDate: Tue Dec 18 15:13:52 2018 +0330
fix environment location
---
Jenkinsfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5834162..4e58b88 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -19,12 +19,13 @@ pipeline {
pollSCM 'H/15 * * * *'
}
+ environment {
+ MAVEN_OPTS = "-Xmx1024m -XX:MaxPermSize=256m"
+ }
+
stages {
stage('Build') {
steps {
- environment {
- MAVEN_OPTS = "-Xmx1024m -XX:MaxPermSize=256m"
- }
sh 'mvn --version'
sh 'mvn clean source:jar javadoc:jar install deploy -DskipWiki
-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2'
}