npm buildssszzz
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -1,5 +1,10 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
|
tools {
|
||||||
|
nodejs "nodeJS-23"
|
||||||
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
SSH_CREDENTIALS_ID = 'ssh-true-nas' // ID van de SSH-sleutel in Jenkins
|
SSH_CREDENTIALS_ID = 'ssh-true-nas' // ID van de SSH-sleutel in Jenkins
|
||||||
TRUENAS_HOST = '192.168.2.31' // IP-adres of hostname van TrueNAS
|
TRUENAS_HOST = '192.168.2.31' // IP-adres of hostname van TrueNAS
|
||||||
@@ -20,6 +25,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
// Bouw het Quarkus-project (assumeert Maven als build tool)
|
// Bouw het Quarkus-project (assumeert Maven als build tool)
|
||||||
|
sh 'npm install'
|
||||||
sh 'npm run build'
|
sh 'npm run build'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user