Skip to content

Commit

Permalink
Runs version updater in building
Browse files Browse the repository at this point in the history
  • Loading branch information
dmf444 committed May 12, 2022
1 parent cb41fbb commit bc7cf87
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,25 @@ pipeline {
stages {
stage('Build Windows') {
steps {
sh 'npm install'
sh 'npm run prod'
sh 'npm run build:win'
sh 'npm install'
sh 'npm run verup'
sh 'npm run prod'
sh 'npm run build:win'
}
}

stage('Artifact') {
steps {
archiveArtifacts artifacts: 'out/*.exe, out/*.exe.blockmap, out/*.yml'
archiveArtifacts artifacts: 'out/*.yaml', allowEmptyArchive: true
archiveArtifacts 'out/*.exe, out/*.exe.blockmap, out/*.yml'
archiveArtifacts(artifacts: 'out/*.yaml', allowEmptyArchive: true)
}
}

}
post {
always {
sh "chmod -R a+rw \$PWD/"
sh 'chmod -R a+rw $PWD/'
}

}
}
}

0 comments on commit bc7cf87

Please sign in to comment.