Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: bazaar-plugin
-
Labels:None
-
Similar Issues:
Description
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
Attachments
Issue Links
- is related to
-
JENKINS-17376 BZR Environment Variables
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
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 |
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 | Major [ 3 ] | Minor [ 4 ] |
Attachment | bazaar-hudson-revision-number.patch [ 19420 ] |
Attachment | JENKINS-4985.patch [ 19908 ] |
Assignee | trondn [ trondn ] | zigarn [ zigarn ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | current [ 10162 ] |
Link | This issue is related to JENKINS-17376 [ JENKINS-17376 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Workflow | JNJira [ 135062 ] | JNJira + In-Review [ 203234 ] |