Echo the fragment.
This commit is contained in:
parent
e16e832f5a
commit
965ed1aa06
|
@ -156,7 +156,7 @@ def exec(actions, repo_url, repo_name) {
|
||||||
withCredentials([usernamePassword(credentialsId: '88b54962-1c0e-49cb-8155-22276860f346', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
|
withCredentials([usernamePassword(credentialsId: '88b54962-1c0e-49cb-8155-22276860f346', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
|
||||||
def repository = repo_url.replaceFirst(".+://", "https://${GIT_USERNAME}:${GIT_PASSWORD}@")
|
def repository = repo_url.replaceFirst(".+://", "https://${GIT_USERNAME}:${GIT_PASSWORD}@")
|
||||||
sh("""
|
sh("""
|
||||||
cat $actions > actions.sh
|
echo $actions > actions.sh
|
||||||
chmod a+x actions.sh
|
chmod a+x actions.sh
|
||||||
source actions.sh
|
source actions.sh
|
||||||
rm actions.sh
|
rm actions.sh
|
||||||
|
|
Loading…
Reference in New Issue