63281/can-invoke-ant-file-for-pipeline-jenkins-using-jenkinsfile
Yes, you can do it.
You need to specify the following in the jenkinsfile.
def antVersion = 'Ant1.9.1' withEnv( ["ANT_HOME=${tool antVersion}"] ) { sh '$ANT_HOME/bin/ant target1 target2' }
Hope this helps!
Hi@Shashi, The declarative pipeline is a relatively new ...READ MORE
You can rename pipeline jobs in jenkins ...READ MORE
You can use the same dockerfile for ...READ MORE
You can run the following code, its ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Yes, in case you don't want to ...READ MORE
Yes, you can create a Jenkins pipeline ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.