-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[patch] fixing test missing git configuration
- Loading branch information
1 parent
d09f0cc
commit 2a288ef
Showing
1 changed file
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package tagger | ||
|
||
import com.zegreatrob.tools.adapter.git.GitAdapter | ||
import com.zegreatrob.tools.adapter.git.runProcess | ||
import org.ajoberstar.grgit.Grgit | ||
import org.ajoberstar.grgit.operation.AddOp | ||
import org.ajoberstar.grgit.operation.BranchChangeOp | ||
|
@@ -87,6 +88,9 @@ class TaggerPluginCalculateVersionFunctionalTest { | |
) | ||
grgit.push() | ||
|
||
runProcess(listOf("git", "config", "user.email", "[email protected]"), this.projectDir.absolutePath) | ||
runProcess(listOf("git", "config", "user.name", "RoB as Test"), this.projectDir.absolutePath) | ||
|
||
val runner = GradleRunner.create() | ||
runner.forwardOutput() | ||
runner.withPluginClasspath() | ||
|