[JIRA] (JENKINS-13784) Environment Variables do not replace in shell scripts
Richard Sczepczenski closed JENKINS-13784 as Not A Defect Environment Variables do not replace in shell scripts From what I can tell, doesn't appear to be a problem with environment variables replacing. Change By: Richard Sczepczenski (20/Sep/12 2:13 PM) Status: Open Closed Resolution: Not A Defect This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13784) Environment Variables do not replace in shell scripts
Richard Sczepczenski commented on JENKINS-13784 Environment Variables do not replace in shell scripts The title of the issue is somewhat misleading. The environment variables are being replaced as evidenced by the echo statements. The problem appears to be with the sed command. I copied it and attempted to run it from the command line but it doesn't complete. If it won't complete from the command line then I wouldn't expect it to run when put in a shell script. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-13784) Environment Variables do not replace in shell scripts
Brian Booyah created JENKINS-13784: -- Summary: Environment Variables do not replace in shell scripts Key: JENKINS-13784 URL: https://issues.jenkins-ci.org/browse/JENKINS-13784 Project: Jenkins Issue Type: Bug Components: shell-script-scm Affects Versions: current Reporter: Brian Booyah Assignee: Richard Sczepczenski Priority: Blocker Here is my shell script: echo ${BUILD_NUMBER}; echo ${SERVER}; sed -e 's/NSString \*SERVER = @"[A-Z0-9]*";/NSString \*SERVER = @"${SERVER}";/g' Here is the output when the build runs. Notice the second ${SERVER} is not replaced. + echo 98 98 + echo CI1 CI1 + sed -e 's/NSString \*SERVER = @"[A-Z0-9]*";/NSString \*SERVER = @"${SERVER}";/g' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira