dev #14

Merged
wtukatyr merged 24 commits from dev into main 2025-06-09 12:51:35 +03:00
2 changed files with 36 additions and 0 deletions
Showing only changes of commit 92498c074c - Show all commits

24
Jenkinsfile vendored
View File

@@ -1,11 +1,35 @@
def remote=[:]
remote.name = 'saccada.xyz'
remote.host = 'saccada.xyz'
remote.allowAnyHosts = true
pipeline {
agent any
environment {
CREDS=credentials('73d234d2-3f9d-44e9-97fc-b6317070b462')
}
stages {
stage('Hello') {
steps {
echo 'Hello from Jenkins'
}
}
stage('Connect to server') {
steps {
script {
remote.user = env.CREDS_USR
remote.password = env.CREDS_PSW
}
sshCommand(remote: remote, command: "find ~/ws")
}
}
}
post {
always {
sleep 5
}
}
}