[archiva-redback-components-spring-registry] branch master updated: simplify Jenkinsfile

2018-12-29 Thread olamy
This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-registry.git


The following commit(s) were added to refs/heads/master by this push:
 new 95df27a  simplify Jenkinsfile
95df27a is described below

commit 95df27a02b41efc488e67724a1caeb64307f2bf3
Author: olivier lamy 
AuthorDate: Sat Dec 29 19:45:34 2018 +1000

simplify Jenkinsfile

Signed-off-by: olivier lamy 
---
 .gitignore  |  1 +
 Jenkinsfile | 40 +---
 2 files changed, 2 insertions(+), 39 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6f52bf1..7b6772c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ target
 .DS_Store
 .site-content
 out
+*.iml
diff --git a/Jenkinsfile b/Jenkinsfile
index 0d3035f..567e27c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,43 +16,5 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-/**
- *
- *
- * Jenkins Pipeline configuration.
- *
- */
-
-def labels = 'ubuntu'
-def buildJdk = 'JDK 1.8 (latest)'
-def buildMvn = 'Maven 3.5.2'
-def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
-
-node(labels) {
-
-cleanWs()
-
-stage ('Clone Sources') {
-checkout scm
-}
-
-stage ('Build') {
-withMaven(
-maven: buildMvn,
-jdk: buildJdk,
-mavenSettingsConfig: deploySettings
-) {
-sh "mvn clean install -B -U -e -fae -Dmaven.compiler.fork=false"
-} 
-}
 
-stage ('Deploy') {
-withMaven(
-maven: buildMvn,
-jdk: buildJdk,
-mavenSettingsConfig: deploySettings
-) {
-sh "mvn deploy -Dmaven.test.skip=true -B -U -e -fae 
-Dmaven.compiler.fork=false"
-}
-}
-}
+asfStandardBuild cmdline:"clean deploy"



[archiva-redback-components-spring-registry] branch master updated: simplify Jenkinsfile

2018-04-16 Thread olamy
This is an automated email from the ASF dual-hosted git repository.

olamy pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-registry.git


The following commit(s) were added to refs/heads/master by this push:
 new 507e697  simplify Jenkinsfile
507e697 is described below

commit 507e69760d1a2af6edd599d758303d91476b992c
Author: Olivier Lamy 
AuthorDate: Tue Apr 17 15:41:18 2018 +1000

simplify Jenkinsfile
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 3b25a21..9ec6982 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -33,7 +33,7 @@ node(labels) {
 cleanWs()
 
 stage ('Clone Sources') {
-git url: 
'https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-registry.git'
+checkout scm
 }
 
 stage ('Build') {
@@ -54,7 +54,7 @@ node(labels) {
 mavenSettingsConfig: deploySettings
 ) {
 // Run the maven build
-sh "mvn clean deploy -Dmaven.test.skip=true -B -U -e -fae 
-Dmaven.compiler.fork=false"
+sh "mvn deploy -Dmaven.test.skip=true -B -U -e -fae 
-Dmaven.compiler.fork=false"
 } // withMaven will discover the generated Maven artifacts, JUnit 
Surefire & FailSafe & FindBugs reports...
 }
 }

-- 
To stop receiving notification emails like this one, please contact
ol...@apache.org.