Page MenuHomeDevCentral

No OneTemporary

diff --git a/Jenkinsfile b/Jenkinsfile
index cb895c6..32c4d80 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,48 +1,48 @@
pipeline {
agent {
label "node"
}
stages {
stage('Doc') {
steps {
- git 'https://devcentral.nasqueron.org/source/infra-www.git'
+ git url: 'https://devcentral.nasqueron.org/source/infra-www.git', branch: 'main'
sh '''
npm install
npm run build
cd dist
rm -rf _external
tar czf ../www-nasqueron-infra.tar.gz *
'''
}
post {
success {
archiveArtifacts artifacts: 'www-nasqueron-infra.tar.gz'
}
}
}
stage('Publish') {
steps {
sshPublisher(
failOnError: true,
publishers: [
sshPublisherDesc(
configName: 'ysul-deploy',
transfers: [
sshTransfer(
sourceFiles: 'www-nasqueron-infra.tar.gz',
remoteDirectory: 'workspace',
cleanRemote: true,
execCommand: 'tar xzvf workspace/www-nasqueron-infra.tar.gz -C /var/wwwroot/nasqueron.org/infra/'
)
]
)
]
)
}
}
}
}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Nov 24, 23:20 (12 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259149
Default Alt Text
(1 KB)

Event Timeline