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-utils.git


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

commit ee6d2380defb578f207b2bd1a6ee72a25517b89f
Author: olivier lamy <[email protected]>
AuthorDate: Sat Dec 29 21:57:16 2018 +1000

    simplify Jenkinsfile
    
    Signed-off-by: olivier lamy <[email protected]>
---
 .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"

Reply via email to