[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Daniel Hoerner commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable there any news about that? Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.175527.1476879748000.2594.1574089380244%40Atlassian.JIRA.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Paul Allen started work on JENKINS-39107 Change By: Paul Allen Status: Reopened In Progress Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.175527.1476879748000.9610.1570015140453%40Atlassian.JIRA.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar edited a comment on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Tried different ways with a multibranch pipeline using global library and Jenkinsfile. Here are the findings:If the Jenkinsfile is doing a skipDefaultCheckout, the JENKINSFILE_PATH will is not be set. This is observed irrespective of whether the pipeline uses global library or not.If the pipeline uses global library without skipDefaultCheckout, the JENKINSFILE_PATH environment variable will be is set correctly . Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.175527.1476879748000.22513.1559812020602%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Tried different ways with a multibranch pipeline using global library and Jenkinsfile. Here are the findings: If the Jenkinsfile is doing a skipDefaultCheckout, the JENKINSFILE_PATH will not be set. This is observed irrespective of whether the pipeline uses global library or not. If the pipeline uses global library without skipDefaultCheckout, the JENKINSFILE_PATH environment variable will be set. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.175527.1476879748000.21726.1559728560342%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Daniel Hoerner reopened an issue This feature does not work as expected. ff you have a global library import, the variable "JENKINSFILE_PATH" contains the path to the global library + "/Jenkinsfile" Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Daniel Hoerner Resolution: Fixed Status: Resolved Reopened Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.175527.1476879748000.5137.1558337160590%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Daniel Hoerner commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable this bug already fixed in the P4 plugin Version 1.9.6 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Paul Allen updated JENKINS-39107 Ready for release Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Paul Allen Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Updated help text Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar updated JENKINS-39107 Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Charusheela Bopardikar Status: Reopened Open Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar updated JENKINS-39107 Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Charusheela Bopardikar Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar started work on JENKINS-39107 Change By: Charusheela Bopardikar Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar updated JENKINS-39107 Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Charusheela Bopardikar Resolution: Fixed Status: Fixed but Unreleased Reopened Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar edited a comment on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Exposed jenkinsfile path is stored as env variable irrespective of streams Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar edited a comment on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Please review jenkinsfile path is stored as env variable irrespective of streams Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar updated JENKINS-39107 Please review Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Charusheela Bopardikar Status: Open Fixed but Unreleased Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar stopped work on JENKINS-39107 Change By: Charusheela Bopardikar Status: In Progress Open Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Charusheela Bopardikar started work on JENKINS-39107 Change By: Charusheela Bopardikar Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Paul Allen assigned an issue to Charusheela Bopardikar Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Paul Allen Assignee: Charusheela Bopardikar Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Paul Allen commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Might be able to store the Perforce Depot path to the Jenkinsfile. (Need to consider lightweight checkout where no client is used) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Paul Allen assigned an issue to Unassigned Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Paul Allen Assignee: Karl Wirth Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Matthew Smeeth updated an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Matthew Smeeth Labels: P4_VERIFY P4_A Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Confirmation that the workaround is not valid when using scripted pipeline. Scripted pipeline does not do the implicit sync so P4CLIENT is either null or if using global libraries the temporary client for the global library. However as P4CLIENT is not set it's questionable if 'P4_STREAM' (if it existed) would be availble until 'p4sync' is invoked which would need to know the STREAM name to run. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Karl Wirth Labels: P4_SUPPORT P4_VERIFY Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Daniel Hoerner commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable I have tried with the "node" element and this does not work. No files are synced! @Library('my-shared-library') import org.foo.lib.*pipeline { node{ 'Windows10' } stage("Repro") { echo "This library just prints HELLO FROM testFunc version 1." def z = new org.foo.lib() z.testFunc() echo "This shows that the slave contains the correct files with an explicit sync." bat 'dir' bat 'echo WS IS %P4_CLIENT%' echo "This tries to get the stream name" def p4 = p4(credential: 'JenkinsMaster', workspace: staticSpec(charset: 'none', name: env.P4_CLIENT)) def myClient = p4.fetch('client', env.P4_CLIENT) println ("Stream is: " + myClient.get("Stream") ) } } Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Daniel Hoerner commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable I have tried with the "node" element and this does not work. No files are synced! @Library('my-shared-library') import org.foo.lib.*pipeline { node{ 'Windows10' } stage("Repro") { echo "This library just prints HELLO FROM testFunc version 1." def z = new org.foo.lib() z.testFunc() echo "This shows that the slave contains the correct files with an explicit sync." bat 'dir' bat 'echo WS IS %P4_CLIENT%' echo "This tries to get the stream name" def p4 = p4(credential: 'JenkinsMaster', workspace: staticSpec(charset: 'none', name: env.P4_CLIENT)) def myClient = p4.fetch('client', env.P4_CLIENT) println ("Stream is: " + myClient.get("Stream") ) } } Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Using the following Jenkinsfile the global library is used and the correct stream is derived: @Library('my-shared-library') import org.foo.lib.*pipeline { agent { label 'Windows10' } stages { stage("Repro") { steps { script { echo "This library just prints HELLO FROM testFunc version 1." def z = new org.foo.lib() z.testFunc() echo "This shows that the slave contains the correct files with an explicit sync." bat 'dir' bat 'echo WS IS %P4_CLIENT%' echo "This tries to get the stream name" def p4 = p4(credential: 'JenkinsMaster', workspace: staticSpec(charset: 'none', name: env.P4_CLIENT)) def myClient = p4.fetch('client', env.P4_CLIENT) println ("Stream is: " + myClient.get("Stream") ) } } } } } This results in: --- cut --- P4 Task: syncing files at change: 25 ... p4 sync -q C:\filestore\Jenkins\workspace\Pipeline/...@25 + duration: (139ms)P4 Task: saving built changes. ... p4 client -o jenkinsTemp-fb4e3cb9-0625-4a97-b83b-f9003f7e4cc4 + ... p4 info + ... p4 info + ... p4 client -i + ... done[Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Repro) [Pipeline] script [Pipeline] { [Pipeline] echo This library just prints HELLO FROM testFunc version 1. [Pipeline] echo HELLO FROM testFunc version 1 [Pipeline] echo This shows that the slave contains the correct files with an explicit sync. [Pipeline] bat [Pipeline] Running batch scriptC:\filestore\Jenkins\workspace\Pipeline>dir Volume in drive C has no label. Volume Serial Number is 8EBB-387C Directory of C:\filestore\Jenkins\workspace\Pipeline05/11/2018 15:07 . 05/11/2018 15:07 .. 05/11/2018 15:07 752 Jenkinsfile 05/11/2018 15:07 libs 05/11/2018 15:0714 test.c 05/11/2018 15:0714 test.h 05/11/2018 15:0714 test1.c 05/11/2018 15:0714 test1.h 5 File(s)808 bytes 3 Dir(s) 82,407,059,456 bytes free [Pipeline] bat [Pipeline] Running batch scriptC:\filestore\Jenkins\workspace\Pipeline>echo WS IS jenkinsTemp-fb4e3cb9-0625-4a97-b83b-f9003f7e4cc4 WS IS jenkinsTemp-fb4e3cb9-0625-4a97-b83b-f9003f7e4cc4 [Pipeline] echo This tries to get the stream name [Pipeline] p4 [Pipeline] echo Stream is: //streams/main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Reports that this does not work when libraries have been loaded first. e.g. import GLOBAL Lib ... p4sync Need to confirm with a test case. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth assigned an issue to Karl Wirth Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Karl Wirth Assignee: Karl Wirth Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Karl Wirth Labels: P4_VERIFY P4_SUPPORT Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Karl Wirth Labels: P4_BACKLOG P4_VERIFY Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth updated an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Karl Wirth Priority: Minor Blocker Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Paul Allen updated an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Change By: Paul Allen Labels: P4_VERIFY P4_BACKLOG Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Karl Wirth commented on JENKINS-39107 Re: expose "Stream Codeline" as an environment variable Still not possible but a possible workaround is to use P4Groovy. For example: def p4 = p4(credential: 'MyCredential', workspace: staticSpec(charset: 'none', name: env.P4_CLIENT)) def myClient = p4.fetch('client', env.P4_CLIENT) println ("Stream is: " + myClient.get("Stream") ) The output seen is: Stream is: //streams/main Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-39107) expose "Stream Codeline" as an environment variable
Title: Message Title Heiko Nardmann created an issue Jenkins / JENKINS-39107 expose "Stream Codeline" as an environment variable Issue Type: Improvement Assignee: Unassigned Attachments: Stream_Codeline.png Components: p4-plugin Created: 2016/Oct/19 12:22 PM Priority: Minor Reporter: Heiko Nardmann I retrieve the pipeline script from SCM. See attached screenshot for context. Now it would be helpful to be able to use the value of (at least) "Stream Codeline" inside my pipeline script. As far as I understand this is not possible so far? Add Comment