Create Jenkinsfile

This commit is contained in:
Dany LE 2022-07-29 15:27:34 +02:00 committed by GitHub
parent 9b37f45e5f
commit 5f9d8dcf8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,20 @@
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")); \
libtoolize \
aclocal \
autoconf \
automake --add-missing \
make \
'
}
}