Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767277
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rINFRAWWW Nasqueron infrastructure servers website
Attached
Detach File
Event Timeline
Log In to Comment