calculator/Jenkinsfile

33 lines
945 B
Plaintext
Raw Normal View History

2024-05-24 10:59:03 +00:00
pipeline {
agent any
stages {
2024-05-25 09:20:08 +00:00
stage('build'){
steps{
sh 'npm run build'
}
}
stage('deploy'){
steps{
sshPublisher(publishers: [sshPublisherDesc(configName: 'Demos',
transfers: [sshTransfer(cleanRemote: false,
excludes: '',
execCommand: '',
execTimeout: 120000,
flatten: false,
makeEmptyDirs: false,
noDefaultExcludes: false,
patternSeparator: '[,
]+',
remoteDirectory: '/home/jenkins/ssh-uploads/calculator',
remoteDirectorySDF: false,
removePrefix: '',
sourceFiles: 'dist')],
usePromotionTimestamp: false,
useWorkspaceInPromotion: false,
verbose: false)])
2024-05-24 10:59:03 +00:00
}
}
}
}