Hi all,
Once we create a job, can we restrict some particular fields, for update 
using "Fetch/Update config.xml" rest endpointI.
For example assume my job config is like below and I want to restrict 
changes to "*description*"  field using rest api

<project>
    <actions/>
    <*description*>deploys to cloud instance</*description*>
    <keepDependencies>false</keepDependencies>
    <properties/>
    <scm class="hudson.scm.NullSCM"/>
    <canRoam>true</canRoam>
    <disabled>false</disabled>
    
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
    <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
    <triggers class="vector"/>
    <concurrentBuild>false</concurrentBuild>
    <builders>
        <hudson.tasks.Shell>
            <command>echo "deploying to prod"</command>
        </hudson.tasks.Shell>
    </builders>
    <publishers/>
    <buildWrappers/>
</project>

Thanks,
Samith

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/26232936-0e83-4426-b002-c3d5afb4a6ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to