This is an automated email from the ASF dual-hosted git repository.

fgreg pushed a commit to branch SDAP-48
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexusproto.git

commit 1fc04d96dec34cdaeab55fe3e63b318b6c3396af
Author: Frank Greguska <[email protected]>
AuthorDate: Thu Mar 22 16:01:30 2018 -0700

    trying assemble
---
 Jenkinsfile | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8b0b210..ccb5840 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -7,17 +7,15 @@ pipeline{
     }
     stages{
         stage("Build"){
-            parallel {
-                stage("Build Java"){
-                    steps{
-                        git branch: "${env.BRANCH_NAME}", credentialsId: 
'fgreg-github', url: 'https://github.com/apache/incubator-sdap-nexusproto'
-                    }
-                }
-                stage("Build Python"){
-                    steps{
-                        git branch: "${env.BRANCH_NAME}", credentialsId: 
'fgreg-github', url: 'https://github.com/apache/incubator-sdap-nexusproto'
-                    }
-                }
+            steps{
+                git branch: "${env.BRANCH_NAME}", credentialsId: 
'fgreg-github', url: 'https://github.com/apache/incubator-sdap-nexusproto'
+                sh './gradlew clean build'
+            }
+        }
+        stage("Assemble"){
+            steps{
+                sh './gradlew assemble'
+                archiveArtifacts artifacts: '**/nexusproto-*.jar 
**/nexusproto-*.tar.gz', fingerprint: true, onlyIfSuccessful: true
             }
         }
     }

Reply via email to