This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
- task: DownloadBuildArtifacts@0 | |
inputs: | |
buildType: 'current' | |
downloadType: 'single' | |
artifactName: drop | |
itemPattern: '**/*.zip' | |
downloadPath: '$(System.ArtifactsDirectory)' | |
.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
- task: PublishBuildArtifacts@1 | |
inputs: | |
PathtoPublish: '$(Build.SourcesDirectory)/target' | |
ArtifactName: 'drop' | |
publishLocation: 'Container' | |
.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
- task: Maven@3 | |
inputs: | |
mavenPomFile: 'pom.xml' | |
goals: 'clean package' | |
publishJUnitResults: true | |
testResultsFiles: '**/surefire-reports/TEST-*.xml' | |
javaHomeOption: 'JDKVersion' | |
mavenVersionOption: 'Default' | |
mavenAuthenticateFeed: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- stage: Build | |
jobs: | |
- job: Build | |
pool: 'Hosted Ubuntu 1604' | |
continueOnError: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
<fileSets> | |
<fileSet> | |
<directory>${project.basedir}/scripts</directory> | |
<outputDirectory>/scripts/</outputDirectory> | |
<includes> | |
<include>**/*</include> | |
</includes> | |
<lineEnding>unix</lineEnding> | |
</fileSet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugins> | |
.. | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.5.3</version> | |
<configuration> | |
<descriptor>src/assembly/assembly.xml</descriptor> | |
<appendAssemblyId>false</appendAssemblyId> | |
</configuration> | |
<executions> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
<plugins> | |
.. | |
<!-- User liquibase plugin --> | |
<plugin> | |
<groupId>org.liquibase</groupId> | |
<artifactId>liquibase-maven-plugin</artifactId> | |
<version>3.0.5</version> | |
<configuration> | |
<propertyFile>src/main/resources/liquibase.properties</propertyFile> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
</dependencies> | |
.. | |
<!-- PostgreSQL --> | |
<dependency> | |
<groupId>org.postgresql</groupId> | |
<artifactId>postgresql</artifactId> | |
<version>42.2.5</version> | |
</dependency> | |
</dependencies> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
</dependencies> | |
.. | |
<!-- Liquibase --> | |
<dependency> | |
<groupId>org.liquibase</groupId> | |
<artifactId>liquibase-core</artifactId> | |
<version>3.3.0</version> | |
</dependency> | |
</dependencies> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--liquibase formatted sql | |
--changeset mohitgoyal:20190810012500 | |
CREATE TABLE link ( | |
ID serial PRIMARY KEY, | |
url VARCHAR (255) NOT NULL, | |
name VARCHAR (255) NOT NULL, | |
description VARCHAR (255), | |
rel VARCHAR (50) | |
); |