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-core.git
The following commit(s) were added to refs/heads/master by this push:
new 1f1c5a3 deploy only master branch
1f1c5a3 is described below
commit 1f1c5a3750e2917d4de0fbf3a98baf6ce809a0e9
Author: olivier lamy <[email protected]>
AuthorDate: Sun Dec 30 11:43:50 2018 +1000
deploy only master branch
Signed-off-by: olivier lamy <[email protected]>
---
Jenkinsfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 8e7f80b..2da04b1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -48,7 +48,14 @@ pipeline {
stage( 'BuildAndDeploy-JDK8' ) {
steps {
script{
- asfStandardBuild.mavenBuild( buildJdk, "clean deploy -U
-fae -T3", 'Maven 3.5.2', defaultPublishers)
+ if (env.BRANCH_NAME == 'master')
+ {
+ asfStandardBuild.mavenBuild( buildJdk, "clean deploy
-U -fae -T3", 'Maven 3.5.2',
+ defaultPublishers )
+ } else {
+ asfStandardBuild.mavenBuild( buildJdk, "clean install
-U -fae -T3", 'Maven 3.5.2',
+ defaultPublishers )
+ }
}
}
}