mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
Update Jenkinsfile
This commit is contained in:
parent
307ff008f9
commit
7efaa32245
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@ -1,24 +1,3 @@
|
|||||||
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; \
|
|
||||||
'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def remote = [:]
|
def remote = [:]
|
||||||
remote.name = 'workstation'
|
remote.name = 'workstation'
|
||||||
remote.host = 'workstation'
|
remote.host = 'workstation'
|
||||||
@ -52,6 +31,8 @@ pipeline{
|
|||||||
steps {
|
steps {
|
||||||
sshCommand remote: remote, command: '''
|
sshCommand remote: remote, command: '''
|
||||||
set -e
|
set -e
|
||||||
|
export WORKSPACE="jenkins/workspace/ant-http"
|
||||||
|
cd $WORKSPACE
|
||||||
libtoolize
|
libtoolize
|
||||||
aclocal
|
aclocal
|
||||||
autoconf
|
autoconf
|
||||||
|
Loading…
Reference in New Issue
Block a user