mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Merge pull request #751 from SAP/it/mtafixcodecomment
added comment to explain escaped variable
This commit is contained in:
commit
4343891004
@ -126,6 +126,8 @@ void call(Map parameters = [:]) {
|
||||
|
||||
echo "[INFO] Executing mta build call: '${mtaCall}'."
|
||||
|
||||
//[Q]: Why extending the path? [A]: To be sure e.g. grunt can be found
|
||||
//[Q]: Why escaping \$PATH ? [A]: We want to extend the PATH variable in e.g. the container and not substituting it with the Jenkins environment when using ${PATH}
|
||||
sh """#!/bin/bash
|
||||
export PATH=./node_modules/.bin:\$PATH
|
||||
$mtaCall
|
||||
|
Loading…
Reference in New Issue
Block a user