Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Code Block
languagebash
firstline1
titleAbandon Changes
linenumberstrue
echo -------------------------------
set PATH=%PATH%;C:\apps\Datical\repl

git clone http://user@bitbucket.datical.net/scm/bbu/ddb.git
cd ddb

git branch --set-upstream-to=origin/master master 
git status

hammer findChangeSets --lookupChangesets="abandoned,%lookupChangesets%"
hammer removeLabels --lookupChangesets="abandoned,%lookupChangesets%" --labels="abandoned"
hammer addLabels --lookupChangesets="%lookupChangesets%" --labels="%newReleaseLabel%"
hammer findChangeSets --lookupChangesets="%lookupChangesets%,%newReleaseLabel%"

REM add steps to commit Datical project into Git.
echo commit new changes back into Bitbucket
call
git add -A
call git commit -m "Automations:UnabandonScript-%lookupChangesets% - build number=%BUILD_NUMBER%"
call
git push -u origin master
echo -------------------------------

...

    1. hammer deploy STAGE --labels "release/2.0.0 AND !abandoned"
    2. hammer deploy PROD --labels "release/2.0.0 AND !abandoned"


Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1ff1d7
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("unabandon","abandon") and type = "page" and space = "DDKB"
labelsabandon unabandon

...