PageRenderTime 57ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/jgitflow-maven-plugin/src/it/projects/release-start-pom-rewrite/postbuild.groovy

https://bitbucket.org/atlassian/jgit-flow
Groovy | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | 8a237556340f19bf7fa06171600795c2 MD5 | raw file
Possible License(s): Apache-2.0
  1. import com.atlassian.jgitflow.core.JGitFlow
  2. import com.atlassian.maven.plugins.jgitflow.it.FinishScriptHelper
  3. import static org.junit.Assert.assertTrue
  4. try
  5. {
  6. helper = new FinishScriptHelper(basedir, localRepositoryPath, context)
  7. flow = JGitFlow.getOrInit(basedir)
  8. flow.git().checkout().setName("release/1.1").call()
  9. helper.comparePomFiles("subproject1/expected-release-pom.xml", "subproject1/pom.xml")
  10. }
  11. catch (Exception e)
  12. {
  13. System.err.println(e.getMessage())
  14. return false;
  15. }