1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-03 13:39:46 +02:00
ant-http/Jenkinsfile

21 lines
495 B
Plaintext
Raw Normal View History

2022-07-29 15:27:34 +02:00
node {
def remote = [:]
remote.name = 'workstation'
remote.host = 'workstation'
remote.user = 'dany'
remote.identityFile = '/var/jenkins_home/.ssh/id_rsa'
remote.allowAnyHosts = true
remote.agent = false
remote.logLevel = 'INFO'
stage('Build') {
sshCommand remote: remote, command: '\
cd $(dirname $(find ~/jenkins/workspace/ant-http@script -name "Jenkinsfile")); \
2022-07-29 15:28:50 +02:00
libtoolize; \
aclocal; \
autoconf; \
automake --add-missing; \
make; \
2022-07-29 15:27:34 +02:00
'
}
}