-
Notifications
You must be signed in to change notification settings - Fork 402
Expand file tree
/
Copy pathTestRegression_example.txt
More file actions
21 lines (21 loc) · 1.2 KB
/
TestRegression_example.txt
File metadata and controls
21 lines (21 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
exampleJob.run()
exampleJob.sleep(20)
exampleJob.execute()
exampleJob.node(groovy.lang.Closure)
exampleJob.load(src/test/jenkins/lib/utils.jenkins)
utils.run()
exampleJob.load(src/test/jenkins/lib/properties.jenkins)
properties.run()
exampleJob.stage(Checkout, groovy.lang.Closure)
exampleJob.checkout([$class:GitSCM, branches:[[name:feature_test]], extensions:[], userRemoteConfigs:[[credentialsId:gitlab_git_ssh, url:github.com/lesfurets/JenkinsPipelineUnit.git]]])
utils.currentRevision()
utils.sh([returnStdout:true, script:git rev-parse HEAD])
exampleJob.gitlabBuilds([builds:[build, test]], groovy.lang.Closure)
exampleJob.stage(build, groovy.lang.Closure)
exampleJob.gitlabCommitStatus(build, groovy.lang.Closure)
exampleJob.sleep(20)
exampleJob.sh(mvn clean package -DskipTests -DgitRevision=bcc19744)
exampleJob.stage(test, groovy.lang.Closure)
exampleJob.gitlabCommitStatus(test, groovy.lang.Closure)
exampleJob.println(value)
exampleJob.sh(mvn verify -DgitRevision=bcc19744)