Removed use of NodeJS Jenkins tool from Jenkinsfile.
This commit is contained in:
		
							
								
								
									
										8
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -3,33 +3,25 @@ pipeline { | ||||
|     stages { | ||||
|         stage("install") { | ||||
|             steps { | ||||
|                 nodejs('System NodeJS') { | ||||
|                 sh "npm install" | ||||
|             } | ||||
|         } | ||||
|         } | ||||
|         stage("tests") { | ||||
|             steps { | ||||
|                 nodejs('System NodeJS') { | ||||
|                 sh "npm run test:junit" | ||||
|                 } | ||||
|                 junit 'junit/*.xml' | ||||
|             } | ||||
|         } | ||||
|         stage("build") { | ||||
|             steps { | ||||
|                 nodejs('System NodeJS') { | ||||
|                 sh "npm run build:prod" | ||||
|                 } | ||||
|                 fingerprint "dist/**" | ||||
|                 archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false | ||||
|             } | ||||
|         } | ||||
|         stage("generate docs") { | ||||
|             steps { | ||||
|                 nodejs('System NodeJS') { | ||||
|                 sh "npm run docs" | ||||
|                 } | ||||
|                 publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: '']) | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user