[JIRA] (JENKINS-60254) Pipeline NodeJS dev-test-prod

20 views
Skip to first unread message

zbynek1729@gmail.com (JIRA)

unread,
Nov 23, 2019, 3:04:03 PM11/23/19
to jenkinsc...@googlegroups.com
Zbynek Konecny moved an issue
 
Jenkins / Task JENKINS-60254
Pipeline NodeJS dev-test-prod
Change By: Zbynek Konecny
Project: Jenkins Events
Key: EVENTS JENKINS - 56 60254
Workflow: EVENTS: Simple Issue Tracking Workflow JNJira + In-Review
Status: To Do Open
Component/s: other
Component/s: other
Due Date: 7/Aug/19
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

zbynek1729@gmail.com (JIRA)

unread,
Nov 23, 2019, 3:22:04 PM11/23/19
to jenkinsc...@googlegroups.com
Zbynek Konecny closed an issue as Not A Defect
Change By: Zbynek Konecny
Status: Open Closed
Resolution: Not A Defect

zbynek1729@gmail.com (JIRA)

unread,
Nov 23, 2019, 3:22:04 PM11/23/19
to jenkinsc...@googlegroups.com
Zbynek Konecny commented on Task JENKINS-60254
 
Re: Pipeline NodeJS dev-test-prod

Doesn't look like a bug, just a problem with pipeline syntax. Note that $ in pipeline (groovy) is used for expanding groovy variables, so

"${npm bin}" is not valid. You can either of the following instead:

sh "echo \$(npm bin)"
sh 'echo $(npm bin)'

(these call echo command in your shell and hence $ is interpreted by shell).

Reply all
Reply to author
Forward
0 new messages