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
+13 -12
Vendored
+13 -12
View File
@@ -2,8 +2,10 @@ pipeline {
agent any
stages {
stage('Env reinit') {
steps {
sh '''echo "
parallel {
stage('Env reinit') {
steps {
sh '''echo "
NEXTAUTH_URL=\'https://devops.dsp-archiwebo21-ad-ec-cb-mt.fr\'
DATABASE_URL="postgres://postgres:dandanalaa@212.227.206.140:5454/thetiptop"
@@ -25,6 +27,15 @@ pipeline {
" > ./.env
cat ./.env'''
}
}
stage('ssh') {
steps {
sh 'echo "salut"'
}
}
}
}
@@ -42,16 +53,6 @@ pipeline {
}
}
stage('sh') {
steps {
sh '''ssh alaa@146.59.150.78
dandanalaa
ll
exit
'''
}
}
}
tools {
nodejs 'Node 16.18'