creating jenkins jobs with ansible

前端 未结 3 1645
后悔当初
后悔当初 2021-01-13 10:17

I\'m working on a project to deploy a jenkins CI server on centos7 using ansible And I\'m having problems creating jenkins jobs from an xml template using ansible.

E

3条回答
  •  隐瞒了意图╮
    2021-01-13 11:14

    You can use shell redirection by executing the shell. For example, the command 'sh "echo test > hello.txt"' will work as intended. Just wrap the whole command with something like '/bin/sh "java ...>..."'.

提交回复
热议问题