I’m using the “net.researchgate.release 2.6.0” plugin to do a release build with Gradle 4.5.
I can execute the release task successfully from my local and its able to build and publish the release artifacts. But when I execute the same release task from a Jenkins job, if fails with this. It seems like its running the checkUpdateNeeded in a loop.
I have this in the release method:
elease {
revertOnFail = true
failOnUpdateNeeded = false
failOnCommitNeeded = false
failOnUnversionedFiles = false
git { requireBranch = “${project.gitBranch}”
pushToRemote = ‘origin’
pushToBranchPrefix = ‘’
commitVersionFileOnly = true
// signTag = false
}
}
afterReleaseBuild.dependsOn ‘publish’