-
Improvement
-
Resolution: Fixed
-
Minor
-
None
Currently, the bazaar plugin doesn't set an env var like the svn or cvs plugins. Would be really useful. Looks like its just applying this patch
Index: BazaarSCM.java =================================================================== --- BazaarSCM.java (revision 24298) +++ BazaarSCM.java (working copy) @@ -%ld,%ld +%ld,%ld @@ @Override public void buildEnvVars(AbstractBuild build, Map<String, String> env) { + env.put("BZR_REVISION",this.getRevno().toString()) } @Override
- is related to
-
JENKINS-17376 BZR Environment Variables
-
- Open
-
[JENKINS-4985] Set an env var with the Bzr rev number in the bzr plugin
Description |
Original:
Currently, the bazaar plugin doesn't set an env var like the svn or cvs plugins. Would be really useful. Looks like its just applying this patch Index: BazaarSCM.java =================================================================== --- BazaarSCM.java (revision 24298) +++ BazaarSCM.java (working copy) @@ -%ld,%ld +%ld,%ld @@ @Override public void buildEnvVars(AbstractBuild build, Map<String, String> env) { + env.put("BZR_REVISION",this.getRevno().toString()) } @Override |
New:
Currently, the bazaar plugin doesn't set an env var like the svn or cvs plugins. Would be really useful. Looks like its just applying this patch {noformat} Index: BazaarSCM.java =================================================================== --- BazaarSCM.java (revision 24298) +++ BazaarSCM.java (working copy) @@ -%ld,%ld +%ld,%ld @@ @Override public void buildEnvVars(AbstractBuild build, Map<String, String> env) { + env.put("BZR_REVISION",this.getRevno().toString()) } @Override {noformat} |
Priority | Original: Major [ 3 ] | New: Minor [ 4 ] |
Attachment | New: bazaar-hudson-revision-number.patch [ 19420 ] |
Attachment | New: JENKINS-4985.patch [ 19908 ] |
Assignee | Original: trondn [ trondn ] | New: Alexandre Garnier [ zigarn ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: current [ 10162 ] |
Link | New: This issue is related to JENKINS-17376 [ JENKINS-17376 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 135062 ] | New: JNJira + In-Review [ 203234 ] |