deploy only master branch
Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
parent
2a1122ecf6
commit
1f1c5a3750
|
@ -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 )
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue