jenkinsci / jenkinsci/subversion-plugin
[JENKINS-32582] List Subversion Tags default tag fails for Poll SCM trigger
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
The List Subversion Tags default tag (e.g. "trunk") is not obeyed for Poll SCM trigger. Instead, the most recent tag from a manual build is used. This makes it unusable for the most natural use case: nightly triggered trunk rebuilds plus manual branch builds.
Best workaround is terrible: trigger a rebuild on Success, with parameters to override tag:
fail=t
svn_tag=trunk
Build script aborts with failure if fail=t, stopping the infinite build loop, but always leaving the job in a failed state. Ugh.
---
Originally reported by
glennwidener, imported from: List Subversion Tags default tag fails for Poll SCM trigger
Raw content of original issue
The List Subversion Tags default tag (e.g. "trunk") is not obeyed for Poll SCM trigger. Instead, the most recent tag from a manual build is used. This makes it unusable for the most natural use case: nightly triggered trunk rebuilds plus manual branch builds.
Best workaround is terrible: trigger a rebuild on Success, with parameters to override tag:
fail=t
svn_tag=trunkBuild script aborts with failure if fail=t, stopping the infinite build loop, but always leaving the job in a failed state. Ugh.
- environment:
svn plugin v2.5.7 or 2.5.3, Jenkins 1.643, ubuntu 14, jre 1.7.0_91-b02
1 attachment
- [Untitled.png](https://issues.jenkins.io/secure/attachment/31689/Untitled.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.