Added Jenkinsfile

This commit is contained in:
dandanalaa committed 2022-12-10 23:12:13 +00:00
1 parent 0b1a2bd670
commit f16bf70477
1 file changed
+11 -10
Vendored
+11 -10
View File
@@ -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'