Added Jenkinsfile
This commit is contained in:
1 parent
0b1a2bd670
commit
f16bf70477
1 file changed
+11
-10
Vendored
+11
-10
@@ -1,6 +1,8 @@
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Env reinit') {
|
||||
parallel {
|
||||
stage('Env reinit') {
|
||||
steps {
|
||||
sh '''echo "
|
||||
@@ -28,6 +30,15 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('ssh') {
|
||||
steps {
|
||||
sh 'echo "salut"'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh '''npm install
|
||||
@@ -42,16 +53,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('sh') {
|
||||
steps {
|
||||
sh '''ssh alaa@146.59.150.78
|
||||
dandanalaa
|
||||
ll
|
||||
exit
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
tools {
|
||||
nodejs 'Node 16.18'
|
||||
|
||||
Reference in new issue
Block a user