Skip to content

Commit

Permalink
Add git config in ITs setups
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Jun 20, 2024
1 parent efe7b18 commit a3ed88b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ def testFile = new File(basedir, 'test.txt')
testFile << 'content'

exec('git init')
exec('git config user.email "you@example.com"')
exec('git config user.name "Your Name"')

exec('git add test.txt')
exec('git commit -m initial-commit')
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ def testFile = new File(basedir, 'test.txt')
testFile << 'content'

exec('git init')
exec('git config user.email "you@example.com"')
exec('git config user.name "Your Name"')

exec('git add test.txt')
exec('git commit -m initial-commit')
exec('git tag 1.1.1')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ def testFile = new File(basedir, 'test.txt')
testFile << 'content'

exec('git init')
exec('git config user.email "you@example.com"')
exec('git config user.name "Your Name"')

exec('git add test.txt')
exec('git commit -m initial-commit')
exec('git tag v1.1.1')
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ def testFile = new File(basedir, 'test.txt')
testFile << 'content'

exec('git init')
exec('git config user.email "you@example.com"')
exec('git config user.name "Your Name"')

exec('git add test.txt')
exec('git commit -m initial-commit')
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ def testFile = new File(basedir, 'test.txt')
testFile << 'content'

exec('git init')
exec('git config user.email "you@example.com"')
exec('git config user.name "Your Name"')

exec('git add test.txt')
exec('git commit -m initial-commit')
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ def testFile = new File(basedir, 'test.txt')
testFile << 'content'

exec('git init')
exec('git config user.email "you@example.com"')
exec('git config user.name "Your Name"')

exec('git add test.txt')
exec('git commit -m initial-commit')

0 comments on commit a3ed88b

Please sign in to comment.