[Solved] Groovy script to change the svn url in jenkins jobs

Does it have to be a Groovy script? I would simply login to the Jenkins master host and run this sed oneliner: $ sed -i ‘s#svn://old-url#svn://new-url#g’ \ “$JENKINS_HOME”/jobs/*/config.xml and reload the configuration from disk. 0 solved Groovy script to change the svn url in jenkins jobs

[Solved] How to add regular expression to jenkins pipeline? [closed]

Please read documents carefully before asking! There is no syntax format like “when + environment”. Try “when + expression”, for example: stage(“example”) { when { expression { return egText.contains(“abcd”) } } Beside that, about environment: The environment directive specifies a sequence of key-value pairs which will be defined as environment variables for all steps, or … Read more

[Solved] How to install a software using Jenkins job?

That depends on the installer software – if you can configure it for unattended installation then it’s simple to set up a Jenkins job – how you’d call the executable depends on the installer. The site http://unattended.sourceforge.net/installers.php shows how to do that for different installer software. 1 solved How to install a software using Jenkins … Read more

[Solved] use Azure Batch as Jenkins’ node

As your requirement is to send a command line to Azure so I would suggest you to have a simple Jenkins job (either freestyle job or pipeline job) which would accomplish the requirement. Pre-requisites: Have an Azure Batch account Have an Azure Batch pool Have an Azure Batch job Azure CLI installed in the Jenkins … Read more

[Solved] Continuous integration with jenkins using android studio

Unfortunately for you, this isn’t a “Tutorial” site. If you have a specific issue, people will help you. But for a tutorial, google around some blogs. Based on your description, you need to: Configure some triggers (prolly SCM change, or timer based) Perform GIT checkout Perform Gradle build step Decide where to Archive your artifacts … Read more