You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Daschinsky (Jira)" <ji...@apache.org> on 2021/10/18 11:40:00 UTC

[jira] [Updated] (IGNITE-15768) Change get version script in nightly release build after IGNITE-15645

     [ https://issues.apache.org/jira/browse/IGNITE-15768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Daschinsky updated IGNITE-15768:
-------------------------------------
    Description: 
After IGNITE-15645, [script|https://ci.ignite.apache.org/admin/editRunType.html?id=buildType:Releases_NightlyRelease_ApacheIgniteNightlyReleasePrepare&runnerId=RUNNER_227&cameFromUrl=%2Fadmin%2FeditBuildRunners.html%3Fid%3DbuildType%253AReleases_NightlyRelease_ApacheIgniteNightlyReleasePrepare%26init%3D1&cameFromTitle=] should be changed

Before:
{code}
#!/usr/bin/env bash
set -x

igniteVersion=$(cat pom.xml | \
              grep -E -m 1 '<version>[0-9]+.[0-9]+.[0-9]+(-SNAPSHOT)?</version>' | \
              sed -r 's|.*>(.*)<.*|\1|' | sed -r 's|(.*)-SNAPSHOT|\1|').$(date +%%Y%%m%%d -d "+3 hours")
echo "##teamcity[setParameter name='IGNITE_VERSION' value='${igniteVersion}']"
{code}

After 
{code}
#!/usr/bin/env bash
set -x

igniteVersion=$(cat parent/pom.xml | \
              grep -E -m 1 '<revision>[0-9]+.[0-9]+.[0-9]+(-SNAPSHOT)?</revision>'| \
              sed -r 's|.*>(.*)<.*|\1|' | sed -r 's|(.*)-SNAPSHOT|\1|').$(date +%%Y%%m%%d -d "+3 hours")
echo "##teamcity[setParameter name='IGNITE_VERSION' value='${igniteVersion}']"
{code}

  was:After IGNITE-15645, script should be changed


> Change get version script in nightly release build after IGNITE-15645
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-15768
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15768
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Daschinsky
>            Priority: Major
>
> After IGNITE-15645, [script|https://ci.ignite.apache.org/admin/editRunType.html?id=buildType:Releases_NightlyRelease_ApacheIgniteNightlyReleasePrepare&runnerId=RUNNER_227&cameFromUrl=%2Fadmin%2FeditBuildRunners.html%3Fid%3DbuildType%253AReleases_NightlyRelease_ApacheIgniteNightlyReleasePrepare%26init%3D1&cameFromTitle=] should be changed
> Before:
> {code}
> #!/usr/bin/env bash
> set -x
> igniteVersion=$(cat pom.xml | \
>               grep -E -m 1 '<version>[0-9]+.[0-9]+.[0-9]+(-SNAPSHOT)?</version>' | \
>               sed -r 's|.*>(.*)<.*|\1|' | sed -r 's|(.*)-SNAPSHOT|\1|').$(date +%%Y%%m%%d -d "+3 hours")
> echo "##teamcity[setParameter name='IGNITE_VERSION' value='${igniteVersion}']"
> {code}
> After 
> {code}
> #!/usr/bin/env bash
> set -x
> igniteVersion=$(cat parent/pom.xml | \
>               grep -E -m 1 '<revision>[0-9]+.[0-9]+.[0-9]+(-SNAPSHOT)?</revision>'| \
>               sed -r 's|.*>(.*)<.*|\1|' | sed -r 's|(.*)-SNAPSHOT|\1|').$(date +%%Y%%m%%d -d "+3 hours")
> echo "##teamcity[setParameter name='IGNITE_VERSION' value='${igniteVersion}']"
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)