mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
Merge pull request #31 from o-liver/executePipeline
Remove node from test pipeline of executePipeline unit tests.
This commit is contained in:
@@ -76,9 +76,7 @@ class PipelineExecuteTest extends PiperTestBase {
|
||||
|
||||
execute() {
|
||||
|
||||
node() {
|
||||
pipelineExecute repoUrl: "https://test.com/myRepo.git"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -92,9 +90,7 @@ class PipelineExecuteTest extends PiperTestBase {
|
||||
|
||||
execute() {
|
||||
|
||||
node() {
|
||||
pipelineExecute repoUrl: "https://test.com/anotherRepo.git", branch: 'feature', path: 'path/to/Jenkinsfile', credentialsId: 'abcd1234'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -108,9 +104,7 @@ class PipelineExecuteTest extends PiperTestBase {
|
||||
|
||||
execute() {
|
||||
|
||||
node() {
|
||||
pipelineExecute()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user