Remove conditions for pipeline tasks

This commit is contained in:
Mark Iantorno 2020-05-27 11:09:34 -04:00
parent 2f472a10e5
commit 2096ee0cf5
1 changed files with 0 additions and 2 deletions

View File

@ -93,13 +93,11 @@ steps:
</settings>
EOL
displayName: 'Create .mvn/settings.xml'
condition: and(eq(variables.currentImage, 'ubuntu-16.04'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
# Deploy the SNAPSHOT artifact to sonatype nexus.
# This is done for the master branch merges only.
- task: Maven@3
displayName: 'Deploy $(version) to Sonatype staging'
condition: and(eq(variables.currentImage, 'ubuntu-16.04'), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/$(module)/pom.xml'
goals: deploy