Commit 022b4593 authored by EL HAJJIOUI Nabil's avatar EL HAJJIOUI Nabil Committed by Ro3034
Browse files

fix Upgrade build context jenkinsfile step node and npm remove

parent 6fc856a7
......@@ -48,7 +48,7 @@ pipeline {
}
}
}
stage('Upgrade build context') {
when {
environment(name: 'DO_MAJ_CONTEXT', value: 'true')
......@@ -67,8 +67,8 @@ pipeline {
sh 'node -v'
sh '/usr/bin/node -v'
sh 'npm -v'
sh 'sudo rm /usr/local/bin/node'
sh 'sudo rm /usr/local/bin/npm'
sh 'sudo rm /usr/local/bin/node || true'
sh 'sudo rm /usr/local/bin/npm || true'
sh 'node -v;npm -v'
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment