Questions tagged [jgitflow-maven-plugin]

53 questions
11
votes
4 answers

Git flow: How to configure a one-click release process in Jenkins?

We are using the standard git flow branching model (develop, master, release-, hotfix-, etc). As part of our workflow, we would like to set up a "one-click" release via jenkins. I was looking at the jgitflow-maven-plugin. Can I set up this plugin to…
vikingsteve
  • 38,481
  • 23
  • 112
  • 156
6
votes
3 answers

Error starting release: Working tree has untracked files

I'm using Maven JGit-Flow Plugin in order to automate some of the release process. Unfortunately I'm hitting this problem when trying to start new release using mvn jgitflow:release-start: [ERROR] Failed to execute goal…
Anton Belev
  • 11,963
  • 22
  • 70
  • 111
6
votes
1 answer

jgitflow:release-finish is not deleting the release branch

I recently finished merging a release branch to master and develop using jgitflow:release-finish. The build was successful. But now I am trying to create a new branch using jgitflow:releast-start. But it is giving the below error. [ERROR] Failed to…
5
votes
2 answers

How to handle submodules with Maven JGit Flow?

I am new to using the jgitflow-maven-plugin. My project has many different modules that depend on each other. On my develop branch all the submodules have version 1.0.0-SNAPSHOT. Executing the release-start goal fails because of the snapshot…
Niel de Wet
  • 7,806
  • 9
  • 63
  • 100
5
votes
3 answers

Jgitflow plugin not creating git tags

I have the following jgitflow plugin and use Jenkins to perform automated releases. Using the command mvn --batch-mode jgitflow:release-start jgitflow:release-finish. Everything is working however, I never see any tags in github. As per the docs…
Usman Ismail
  • 17,999
  • 14
  • 83
  • 165
4
votes
1 answer

Maven JgitFlow plugin Authentication Fail using SSH

I've clone the repository from stash using SSH and when I tried to create the feature branch using mvn jgitflow:feature-start, I'm facing the following error: [ERROR] Failed to execute goal…
M A.
  • 949
  • 2
  • 12
  • 29
4
votes
1 answer

JGitFlow maven plugin doesn't push release branch to remote

I'm using jGitFlow plugin as follows: external.atlassian.jgitflow jgitflow-maven-plugin 1.0-m5.1 true
Jan Zyka
  • 17,460
  • 16
  • 70
  • 118
3
votes
0 answers

jgitflow-maven-plugin always produces merge conflict

I have two branches: master and develop. At the starting point the develop branched from master Now I try to make two releases in row: First time I did "mvn jgitflow:release-start", "mvn jgitflow:release-finish". It has successfully create a…
3
votes
1 answer

How to work without develop branch in jgitflow-mavenplugin

How to work without develop branch in jgitflow-maven-plugin? We want to use the master branch as our common branch for continuous delivery, and sporadically do a "release" to deploy the solution. we don't use feature branch as we use feature-toggle…
jeromerg
  • 2,997
  • 2
  • 26
  • 36
3
votes
1 answer

Activate profile when finishing release using jgitflow Maven plugin?

I have a Maven profile documentation that I want to get activated when running mvn jgitflow:release-finish. I know that I can do: mvn jgitflow:release-finish -Pdocumentation because the documentation of the plugin states: automatically copies any…
Wim Deblauwe
  • 25,113
  • 20
  • 133
  • 211
3
votes
1 answer

JGitFlow maven plugin release-start from custom branch

Is it possible to make a release from custom branch (not develop)? I tried to use startCommit command, but Maven JGitFlow plugin has been switched to the develop branch before release is started. Also, when I changed git configuration manually, it…
Ivan
  • 193
  • 3
  • 14
3
votes
2 answers

Maven jgitflow plugin

I don't know if any of you do use the maven plugin jgitflow. when running clean jgitflow:release-start jgitflow:release-finish on hudson, I get the following error: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute…
edmond
  • 833
  • 3
  • 13
  • 31
2
votes
1 answer

How to specify new release version by using gitflow-maven-plugin

I've done some testing with gitflow-maven-plugin, and the version in pom file for master branch is 1.3.1, for develop branch is 1.3.2-SNAPSHOT, I wanted it to be back to 1.0.0(master) and 1.0.1-SNAPSHOT(develop). How can I do this?? How to specify…
wawawa
  • 2,835
  • 6
  • 44
  • 105
2
votes
1 answer

Jenkins pipeline - mvn command doesn't read withCredentials variables properly

I am trying to use jgitflow plugin for maven and run a release via Jenkins pipeline. Plugin configuration: external.atlassian.jgitflow jgitflow-maven-plugin
staszko032
  • 802
  • 6
  • 16
2
votes
1 answer

jgitflow-maven-plugin and GitHub Issue

My Jenkins release job, which uses jgitflow-maven-plugin to release an Open Source project on GitHub, throws an exception though it used to work. Maven goals: jgitflow:release-start -e -X -Dhttps.protocols=TLSv1.2 jgitflow:release-finish -e -X…
Puce
  • 37,247
  • 13
  • 80
  • 152
1
2 3 4