<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Release TR while using git-enabled CTS (gCTS) in DevOps and System Administration Forum</title>
    <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452525#M1575</link>
    <description>&lt;P&gt;Hello Karen, &lt;/P&gt;&lt;P&gt;Thanks for taking your time to help us. &lt;/P&gt;&lt;P&gt;We have two systems, XH3 and SCF. Each of them have its own Virtual Transport path, like ZH3 and ZCF.&lt;/P&gt;&lt;P&gt;In this example, XH3 is the source and SCF is the target. &lt;/P&gt;&lt;P&gt;Let's say we create two repositories in git-enabled fiori launchpad, Repository1 and Repository2.&lt;/P&gt;&lt;P&gt;Repository1 -&amp;gt; Contains the Package1 -&amp;gt;  TR000001 (class1, report1, etc..)&lt;/P&gt;&lt;P&gt;Repository2 -&amp;gt; Contains the Package2 -&amp;gt; TR000002  (class2, report2, etc..)&lt;/P&gt;&lt;P&gt;If we release any of these transports by SE09, the objects goes to both repositories. &lt;/P&gt;&lt;P&gt;However, if we work as we are expecting and planning, we would do it only with "manuals push". One would go in the gCTS for Repository1 and add/push the Package1, then the Jenkins Pipeline will do its magic and move it to SCF, while another person would be working on Repository2 and just adds the relevant objects for that Repository.&lt;/P&gt;&lt;P&gt;I re-read the manual pushes again and didn't realized that this is the expected behavior and also responded by you, I only saw after I submitted this question. Sorry about that.&lt;/P&gt;&lt;P&gt;Thanks for your response. Feel free to move this topic to resolved.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2021 11:53:53 GMT</pubDate>
    <dc:creator>former_member755345</dc:creator>
    <dc:date>2021-10-04T11:53:53Z</dc:date>
    <item>
      <title>Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452523#M1573</link>
      <description>&lt;P&gt;We have created two repositories inside gCTS, each one pointing to a different github repo. &lt;/P&gt;
  &lt;P&gt;Let's say we have two Packages, one for each repository. &lt;/P&gt;
  &lt;P&gt;PackageA and PackageB, each one with a separated Transport Request.&lt;/P&gt;
  &lt;P&gt;If we add the PackageB and its objects in gCTS by "pushing" those objects, everything works fine and even Jenkins do its thing. Important: TR for PackageB is NOT released in Source System.&lt;/P&gt;
  &lt;P&gt;However, if we release the Transport Request at SE09, it does not know which repository this TR is tied with, even if you try to add only the TR in the gCTS, if you release the TR at SE09, then the objects of PackageA will go to both Repository1 and Repository2 (PackageB). &lt;/P&gt;
  &lt;P&gt;This goes in the opposite direction of what was explained in the OpenSAP course with Karen. The best way I see of working with it, is having a github repo setup with a gcts repository, then manually pushing the objects every time you make a change in the system. It seems that the behavior is different in the system comparing with the explanation from SAP. &lt;/P&gt;
  &lt;P&gt;I can provide screenshots and more information if anyone is interested. This question is very similar to the one posted here: &lt;A href="https://answers.sap.com/questions/13489387/multiple-repositories-while-using-git-enabled-cts.html?childToView=13493995" target="test_blank"&gt;https://answers.sap.com/questions/13489387/multiple-repositories-while-using-git-enabled-cts.html?childToView=13493995&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 15:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452523#M1573</guid>
      <dc:creator>former_member755345</dc:creator>
      <dc:date>2021-10-03T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452524#M1574</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;may I ask a few questions on your setup?&lt;/P&gt;&lt;P&gt;Do you use different vSIDs for both repositories?&lt;BR /&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;/P&gt;&lt;P&gt;Are the different transport requests making use of these vSIDs?&lt;BR /&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;/P&gt;&lt;P&gt;With this setup, objects that are part of one transport request should only be pushed to one repository.&lt;/P&gt;&lt;P&gt;If you use the manual push option, you can push an object into any repository. Details are available in &lt;A href="https://help.sap.com/viewer/4a368c163b08418890a406d413933ba7/202009.002/en-US/bb01f567bd5344ffb627f7cd432a433f.html"&gt;here https://help.sap.com/viewer/4a368c163b08418890a406d413933ba7/202009.002/en-US/bb01f567bd5344ffb627f7cd432a433f.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The future direction for defining the target repository for an object is to make use of the registry. The general purpose of the registry is described in here: &lt;A href="https://help.sap.com/viewer/4a368c163b08418890a406d413933ba7/202009.002/en-US/3c88a27e05f845a6b0f1e755c664b5d2.html"&gt;https://help.sap.com/viewer/4a368c163b08418890a406d413933ba7/202009.002/en-US/3c88a27e05f845a6b0f1e755c664b5d2.html&lt;/A&gt;. The integration of this mechanism in the development or transport release process is still missing.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Karin&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 06:25:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452524#M1574</guid>
      <dc:creator>Karin</dc:creator>
      <dc:date>2021-10-04T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452525#M1575</link>
      <description>&lt;P&gt;Hello Karen, &lt;/P&gt;&lt;P&gt;Thanks for taking your time to help us. &lt;/P&gt;&lt;P&gt;We have two systems, XH3 and SCF. Each of them have its own Virtual Transport path, like ZH3 and ZCF.&lt;/P&gt;&lt;P&gt;In this example, XH3 is the source and SCF is the target. &lt;/P&gt;&lt;P&gt;Let's say we create two repositories in git-enabled fiori launchpad, Repository1 and Repository2.&lt;/P&gt;&lt;P&gt;Repository1 -&amp;gt; Contains the Package1 -&amp;gt;  TR000001 (class1, report1, etc..)&lt;/P&gt;&lt;P&gt;Repository2 -&amp;gt; Contains the Package2 -&amp;gt; TR000002  (class2, report2, etc..)&lt;/P&gt;&lt;P&gt;If we release any of these transports by SE09, the objects goes to both repositories. &lt;/P&gt;&lt;P&gt;However, if we work as we are expecting and planning, we would do it only with "manuals push". One would go in the gCTS for Repository1 and add/push the Package1, then the Jenkins Pipeline will do its magic and move it to SCF, while another person would be working on Repository2 and just adds the relevant objects for that Repository.&lt;/P&gt;&lt;P&gt;I re-read the manual pushes again and didn't realized that this is the expected behavior and also responded by you, I only saw after I submitted this question. Sorry about that.&lt;/P&gt;&lt;P&gt;Thanks for your response. Feel free to move this topic to resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 11:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452525#M1575</guid>
      <dc:creator>former_member755345</dc:creator>
      <dc:date>2021-10-04T11:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452526#M1576</link>
      <description>&lt;P&gt;Hi Daniel/Karin,&lt;/P&gt;&lt;P&gt;I am new to gCTS. I have managed things working from pushing objects from gCTS tile from fiori launch pad thanks to the blog from Karin. &lt;/P&gt;&lt;P&gt;Now I want to work on jenkins part of this process.&lt;/P&gt;&lt;P&gt;My knowledge in jenkins is minimal. could you give me some insights on this.&lt;/P&gt;&lt;P&gt;our systems are not in SAP Cloud.&lt;/P&gt;&lt;P&gt;systems I work SH1(source), RH1(Target)&lt;/P&gt;&lt;P&gt;Should I create a vSID  for RH1 as well? &lt;/P&gt;&lt;P&gt;Thanks heaps!&lt;/P&gt;&lt;P&gt;Asanka&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 00:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452526#M1576</guid>
      <dc:creator>asankadl</dc:creator>
      <dc:date>2021-10-06T00:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452527#M1577</link>
      <description>&lt;P&gt;Hi Asanka,&lt;/P&gt;&lt;P&gt;Since we are running Jenkins as a Docker Container, we are invoking piper in the Jenkins pipeline. Here's a very simple structure you can try.&lt;BR /&gt;Yes, we did create two virtual SIDs, one for each system. However, this step seems to be different from what SAP recommends, but for our POCs and DEMOs, it's working fine. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;@Library('piper-lib-os') _


pipeline {
    agent any
    stages {
        stage ('gctsExecuteABAPUnitTests') {
            steps {
		gctsExecuteABAPUnitTests (
                    //script: this,
                    host: 'HOST',
                    client: 'CLIENT',
                    abapCredentialsId: 'ABAPUserPasswordCredentialsId',
                    repository: 'YOUR_REPO_NAME_IN_GCTS'
                ) 
            }
        }
		
	stage('gctsDeploy-XYZ') {
            steps {
                script {
                    try {
                        gctsDeploy(
                            host: 'HOST',
                            client: 'CLIENT',
                            abapCredentialsId: 'ABAPUserPasswordCredentialsId',
                            repository: 'YOUR_REPO_NAME_IN_GCTS',
                            //remoteRepositoryURL: "https://remote.repository.url.com",
                            //role: 'SOURCE',
                            vSID: 'XYZ',
                            //branch: 'branch',
                            //commit: 'commit',
                            //scope: 'scope',
                            //rollback: false,
                            //configuration: [dummyConfig: 'dummyval']
                        )
                    }
                    catch(all) {
                        echo "Error while Deploying SAP Objects in XYZ."
                        currentBuild.result = 'FALURE'
                    }
                }
            }
        }
}
}
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Oct 2021 11:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452527#M1577</guid>
      <dc:creator>former_member755345</dc:creator>
      <dc:date>2021-10-06T11:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452528#M1578</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you for your quick response. I will try this and let you know how I progressed.&lt;/P&gt;&lt;P&gt;Asanka.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 21:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452528#M1578</guid>
      <dc:creator>asankadl</dc:creator>
      <dc:date>2021-10-06T21:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Release TR while using git-enabled CTS (gCTS)</title>
      <link>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452529#M1579</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;One last thing that I would like to get hold of is the Jenkins job for the deployment step. Would you be able to send me the details for the jenkins deployment job?&lt;/P&gt;&lt;P&gt;configuration steps in Jenkins.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asanka.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 04:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/devops-and-system-administration-forum/release-tr-while-using-git-enabled-cts-gcts/m-p/12452529#M1579</guid>
      <dc:creator>asankadl</dc:creator>
      <dc:date>2021-10-11T04:41:57Z</dc:date>
    </item>
  </channel>
</rss>

