Skip to content

Commit b1e7d38

Browse files
authored
Create pipeline
1 parent 464a292 commit b1e7d38

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

pipeline

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
pipeline {
2+
agent { "node1" }
3+
4+
stages {
5+
stage('Stage1:preparing the build.....') {
6+
steps {
7+
echo 'preparing...'
8+
}
9+
}
10+
stage('Stage2:clone the project') {
11+
steps {
12+
echo 'cloning the project'
13+
git branch: 'main', url: 'https://github.com/GourhJi/pythoncode.git'
14+
15+
}
16+
}
17+
stage('Stage3:build') {
18+
steps {
19+
sh "pwd"
20+
sh "ls"
21+
}
22+
}
23+
stage('Stage3:copy artefacts to artefactory') {
24+
steps {
25+
echo 'Copying the artefacts'
26+
}
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)