Hi,
I recently started toying with the workflow plugin to script a build release. When i try to run the script, the release fails because the release plugin complains of untracked files. I have the same set of plugins running and working fine in a tradiitional job set up.
My set up
---------------
Workflow Plugins : 1.2
OS : Linux 2.6
Build Tool:Apache Maven 3.x
SCM : Git
Release Plugin:JGitFlow (from Atlassian)
My script reads
node {
git branch: 'develop', url:' ******** '
sh 'mvn clean install'
sh 'mvn --batch-mode jgitflow:release-start jgitflow:release-finish -Prelease'
}
When i run this script(which is extremely simple),the release fails reporting the presence of untracked files.To debug this, I added a few git status commands intermittently and i can see the following files
.6e6a43dd/jenkins-log.txt
.6e6a43dd/pid
.6e6a43dd/script.sh
When i run 'git status' on my workspace using the shell command line, it says i have no untracked changes.
Any pointers?