We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d99c2 commit 1fe07c2Copy full SHA for 1fe07c2
Jenkinsfile
@@ -0,0 +1,45 @@
1
+pipeline {
2
+ agent any
3
+ stages {
4
+ stage('One') {
5
+ steps {
6
+ echo 'Hi, this is Zulaikha from devops'
7
+ }
8
9
+ stage('Two') {
10
11
+ input('Do you want to proceed?')
12
13
14
+ stage('Three') {
15
+ when {
16
+ not {
17
+ branch "master"
18
19
20
21
+ echo "Hello"
22
23
24
+ stage('Four') {
25
+ parallel {
26
+ stage('Unit Test') {
27
28
+ echo "Running the unit test..."
29
30
31
+ stage('Integration test') {
32
+ agent {
33
+ docker {
34
+ reuseNode true
35
+ image 'ubuntu'
36
37
38
39
+ echo "Running the integration test..."
40
41
42
43
44
45
+}
0 commit comments