Mise à jour de 'Jenkinsfile'

This commit is contained in:
dany 2022-08-01 11:31:29 +02:00
parent 35623c8ab6
commit eab77292e9

4
Jenkinsfile vendored
View File

@ -28,6 +28,7 @@ pipeline{
{
stage('Test')
{
steps {
sh '''
printenv;
echo $WORKSPACE;
@ -35,7 +36,9 @@ pipeline{
find /var/jenkins_home -name "Jenkinsfile";
'''
}
}
stage('Remote SSH') {
steps {
sshCommand remote: remote, command: '''
cd $(dirname $(find ~/jenkins/workspace/ant-http@script -name "Jenkinsfile"));
bash test.sh;
@ -44,3 +47,4 @@ pipeline{
}
}
}
}