diff --git a/Jenkinsfile b/Jenkinsfile index 9ce1cce..6383550 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,8 +15,8 @@ node ("small-ec2-fleet") { stage('Install NPM') { sh """ - sudo dnf install https://rpm.nodesource.com/pub_18.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y - sudo dnf install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 + curl -fsSL https://rpm.nodesource.com/setup_18.x | sudo bash - + sudo dnf install -y nodejs sudo dnf install -y /usr/bin/g++ """ }