You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/jenkins-pipeline-library.gdsl
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,9 @@ contributor(pipelineCtx) {
30
30
method(name: 'execMaven', type: 'void', params: [config: Map], doc: 'Executes maven with the given configuration')
31
31
method(name: 'execMavenRelease', type: 'void', params: [config: Map], doc: 'Performs a maven release with the given configuration')
32
32
method(name: 'execNpm', type: 'void', params: [config: Map], doc: 'Executed NPM with the given configuration')
33
-
method(name: 'getBuildParameters.groovy', type: String, doc: 'Returns the current build parameters')
34
33
method(name: 'getScmUrl', type: String, doc: 'Returns the current scm url')
35
34
method(name: 'getScmUrl', type: String, params: [config: Map], doc: 'Returns the current scm url')
36
-
method(name: 'notifyMail', type: 'void', params: [config: Map], doc: 'Sends mail notification with the given configuration')
37
35
method(name: 'setBuildName', type: 'void', doc: 'Sets the current build name to #BUILD_NUMBER GIT_BRANCH')
38
-
method(name: 'setGitBranch', type: 'void', doc: 'Detects the current git branch and sets the result into GIT_BRANCH environment variable')
39
36
method(name: 'setScmUrl', type: 'void', params: [config: Map], doc: 'Detects the current scm url and sets the result into SCM_URL environment variable')
40
37
method(name: 'setupTools', type: 'void', params: [config: Map], doc: 'Setup tools configured in the provided configuration')
41
38
method(name: 'sshAgentWrapper', type: 'void', params: [sshTarget: String, body: Closure], doc: 'Provides auto lookup for ssh credential and wraps body into an sshagent')
@@ -58,7 +55,6 @@ contributor(pipelineCtx) {
58
55
def ansible = context(ctype: "ansible")
59
56
contributor(ansible) {
60
57
method(name: 'execPlaybook', type: 'void', params: [config: Map], doc: 'Executes a ansible playbook with the given configuration.')
method(name: 'checkoutRoles', type: 'void', params: [galaxyRoleFile: String], doc: 'Checks out ansible galaxy roles based upon a provided path to a requirements YAML file.')
63
59
method(name: 'checkoutRoles', type: 'void', params: [config: Map], doc: 'Checks out ansible galaxy roles based upon a provided pipeline configuration.')
64
60
method(name: 'getGalaxyRoleInfo', type: 'Object', params: [role: 'io.wcm.devops.jenkins.pipeline.tools.ansible.Role'], doc: 'Calls the ansible galaxy API for role information')
@@ -155,7 +151,7 @@ contributor(notify) {
155
151
method(name: 'teams', type: 'void', params: [config: Map], doc: 'Triggers an MS Teams notification')
156
152
}
157
153
158
-
def wrap = context(ctype: "wrap")
154
+
def wrap = context(ctype: "wrappers")
159
155
contributor(wrap) {
160
156
method(name: 'color', type: 'void', params: [config: Map, closure: Closure], doc: 'Enables color output in Jenkins console by using the ansiColor step.')
0 commit comments