Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

bitbucket commit hook

ajeet_singh
Contributor
April 8, 2020

A use case to work on.

 

1. In this file, to the last row of <property> tag, the value part is a directory path,(app-7-25-0) should be same as changeSet id (last tag of file)

2.All property tag should be define before include file 

3.All include tag after property tag 

 

 

--- a certain xml file content ---

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

   <property name="BU_env_file" value="${envfile}" />

   <property name="release_home" value="${homedir}/GuiderLiqbs" />

   <property name="SIR-X12345A.home" value="${release_home}/schema_change/app-7-21-0/SIR-X12345A" />

   <property name="SIR-N22993A.home" value="${release_home}/schema_change/app-7-21-0/SIR-N22993A" />

   <property name="SIR-Y72345A.home" value="${release_home}/schema_change/app-7-25-0/SIR-Y72345A" />

   

        <include file="${SIR-X12345A.home}/01-backup.xml" />

        <include file="${SIR-N22993A.home}/01-backup.xml" />

        <include file="${SIR-X12345A.home}/02-schema.xml" />

        <include file="${SIR-N22993A.home}/02-schema.xml" />

        <include file="${SIR-X12345A.home}/03-schema-view.xml" />

        <include file="${SIR-N22993A.home}/03-schema-view.xml" />

   

        <include file="${SIR-Y72345A.home}/01-backup.xml" />

        <include file="${SIR-Y72345A.home}/02-schema.xml" />

 

    <changeSet author="MajorVersion" id="app-7-25-0" />

 

</databaseChangeLog>

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
April 8, 2020

Hi!

Sorry, about which file do you explain?

ajeet_singh
Contributor
April 8, 2020

Hi Gonchik,

xyz.xml file 

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

   <property name="BU_env_file" value="${envfile}" />

   <property name="release_home" value="${homedir}/GuiderLiqbs" />

   <property name="SIR-X12345A.home" value="${release_home}/schema_change/app-7-21-0/SIR-X12345A" />

   <property name="SIR-N22993A.home" value="${release_home}/schema_change/app-7-21-0/SIR-N22993A" />

   <property name="SIR-Y72345A.home" value="${release_home}/schema_change/app-7-25-0/SIR-Y72345A" />

   

        <include file="${SIR-X12345A.home}/01-backup.xml" />

        <include file="${SIR-N22993A.home}/01-backup.xml" />

        <include file="${SIR-X12345A.home}/02-schema.xml" />

        <include file="${SIR-N22993A.home}/02-schema.xml" />

        <include file="${SIR-X12345A.home}/03-schema-view.xml" />

        <include file="${SIR-N22993A.home}/03-schema-view.xml" />

   

        <include file="${SIR-Y72345A.home}/01-backup.xml" />

        <include file="${SIR-Y72345A.home}/02-schema.xml" />

 

    <changeSet author="MajorVersion" id="app-7-25-0" />

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events