Skip to content

Commit

Permalink
echoes
Browse files Browse the repository at this point in the history
Signed-off-by: Darin Pope <[email protected]>
  • Loading branch information
darinpope committed Oct 25, 2021
1 parent c759e7b commit 8c8bd45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vars/getPulumiStack.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
def call() {
def url = env.GIT_URL.split('/')
echo "url = " + url
def branch = env.GIT_BRANCH.split('/')
echo "branch = " + branch
def repoName = url[4].split('.')
echo "repoName = " + repoName
return url[3] + '/' + repoName[0] + '/' + branch[1]
}

0 comments on commit 8c8bd45

Please sign in to comment.